Optifeed

Optifeed API

Introduction

The Optifeed API lets your own system send orders, customers, products and campaigns to Optifeed.

Your system signs in as an API user, gets an access token and sends JSON over HTTPS. Each request goes to this base URL:

https://api.optifeed.com/v1

Pages

  • Quick start: create an API user, get an access token and send your first order.
  • Authentication: API users, access tokens, the revoke of an API user and the refusals of a company.
  • Orders: each order field, the customer of an order, the update of an order and the stale rule.
  • Customers: customers with no order, the contact hashes, the key of a customer and the marketing consent.
  • Products: each product field, the attributes, the import into your catalog and the delete of a product.
  • Campaigns: cart discounts, their targets and conditions, the cart price and the Meta offers feed.
  • Testing: the health check, the dry run and a checklist before you go live.
  • Limits: the size of a request, the rate limits and the hourly product import.
  • Errors: the error shape, each error code, and the errors and warnings of each record.
  • Data and privacy: the contact hashes, the audiences and how long Optifeed keeps each record.

Endpoints

Method Path Use
POST /v1/oauth/token Get an access token.
GET /v1/health Check an access token.
POST /v1/orders Send orders.
POST /v1/customers Send customers that have no order yet, or changes to a customer.
POST /v1/products Send products.
DELETE /v1/products/{sku} Remove a product.
DELETE /v1/customers/{id} Delete a customer.
POST /v1/campaigns Send discounts that your shop gives in the cart.
DELETE /v1/campaigns/{id} End a campaign.

Each answer of these endpoints, except the sign-in, has a request_id. Give it to Optifeed support when you ask about a request.