Skip to content

Endpoints

Orders & products

Orders, their items and timeline, and the product catalog.

Paths are relative to the base URL. Each card lists the permission the call needs and every parameter, with its type and limits.

GET
/orders

List orders, newest first.

Permission: orders
Paginated

Query parameters

  • statusoptionalenum

    Fulfillment status.

    Allowed values:unfulfilledshippeddeliveredcancelledfailed

  • payment_statusoptionalenum

    Payment status.

    Allowed values:pendingpaid

  • contact_idoptionalinteger

    Orders of this contact.

  • created_sinceoptionalstring (ISO 8601 date-time with offset)

    Orders created at or after this time.

GET
/orders/:id

Retrieve an order with its items.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

POST
/orders

Create an order for a contact.

Permission: orders

JSON body

  • contact_idrequiredinteger

    The customer.

  • itemsrequiredarray of objects

    1–200 items. Each item: name (required), quantity (required), unit_price (required), product_id, sku.

  • currencyoptionalstring

    Three-letter ISO 4217 code, e.g. "USD".

  • notesoptionalstring | null

    Up to 2,000 characters.

  • statusoptionalenum

    Fulfillment status.

    Allowed values:unfulfilledshippeddeliveredcancelledfailed

  • payment_statusoptionalenum

    Payment status.

    Allowed values:pendingpaid

  • paid_amountoptionalnumber

    ≥ 0.

  • shipping_feeoptionalnumber

    ≥ 0.

PATCH
/orders/:id

Update order details. Send at least one field.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

JSON body

  • statusoptionalenum

    Fulfillment status.

    Allowed values:unfulfilledshippeddeliveredcancelledfailed

  • payment_statusoptionalenum

    Payment status.

    Allowed values:pendingpaid

  • paid_amountoptionalnumber

    ≥ 0.

  • shipping_feeoptionalnumber

    ≥ 0.

  • notesoptionalstring

    Up to 2,000 characters.

PUT
/orders/:id/status

Change the fulfillment status.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

JSON body

  • statusrequiredenum

    Fulfillment status.

    Allowed values:unfulfilledshippeddeliveredcancelledfailed

POST
/orders/:id/items

Add an item to an order.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

JSON body

  • namerequiredstring

    Line name, 1–255 characters.

  • quantityrequiredinteger

    1–100,000.

  • unit_pricerequirednumber

    0–100,000,000, in the order currency.

  • product_idoptionalinteger | null

    A product of this workspace (see GET /products).

  • skuoptionalstring | null

    Up to 100 characters.

  • Items can only change while the order is unfulfilled and unpaid (409 order_not_editable).
PATCH
/orders/:id/items/:itemId

Change the quantity of an order item.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

  • itemIdrequiredinteger

    Order item ID.

JSON body

  • quantityrequiredinteger

    1–100,000.

  • Only while the order is unfulfilled and unpaid.
DELETE
/orders/:id/items/:itemId

Remove an item from an order.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

  • itemIdrequiredinteger

    Order item ID.

  • An order needs at least one item: removing the last one answers 409 (cancel the order instead).
POST
/orders/:id/timeline

Add a note to the order timeline.

Permission: orders

Path parameters

  • idrequiredinteger

    Order ID.

JSON body

  • noterequiredstring

    1–2,000 characters.

GET
/products

List catalog products, newest first.

Any team member
Paginated

Query parameters

  • searchoptionalstring

    Matches the product name, up to 200 characters.

  • in_stockoptionalenum

    Stock filter.

    Allowed values:truefalse

  • sourceoptionalenum

    Where the product came from.

    Allowed values:manualshopifytrendyol

GET
/products/:id

Retrieve a product.

Any team member

Path parameters

  • idrequiredinteger

    Product ID.

POST
/products

Create a product.

Permission: business_pages

JSON body

  • namerequiredstring

    1–500 characters.

  • descriptionoptionalstring | null

    Up to 20,000 characters.

  • priceoptionalnumber | string | null

    A number ≥ 0, or a price text up to 50 characters.

  • original_priceoptionalnumber | string | null

    Price before discount. Same format as price.

  • currencyoptionalstring | null

    Up to 10 characters, e.g. "USD".

  • skuoptionalstring | null

    Up to 200 characters.

  • brandoptionalstring | null

    Up to 200 characters.

  • in_stockoptionalboolean | null

    Whether the product is available.

  • stock_quantityoptionalinteger | null

    Units in stock, ≥ 0.

  • image_urloptionalstring (URL) | null

    Main image, up to 2,048 characters.

  • imagesoptionalarray of strings (URL)

    Up to 50 image URLs.

  • urloptionalstring (URL) | null

    Product page URL.

  • tagsoptionalarray of strings

    Up to 100 tags, 100 characters each.

  • categoriesoptionalarray of strings

    Up to 100 categories, 100 characters each.

PATCH
/products/:id

Update a product. Send at least one field.

Permission: business_pages

Path parameters

  • idrequiredinteger

    Product ID.

JSON body

  • nameoptionalstring

    1–500 characters.

  • descriptionoptionalstring | null

    Up to 20,000 characters.

  • priceoptionalnumber | string | null

    A number ≥ 0, or a price text up to 50 characters.

  • original_priceoptionalnumber | string | null

    Price before discount. Same format as price.

  • currencyoptionalstring | null

    Up to 10 characters, e.g. "USD".

  • skuoptionalstring | null

    Up to 200 characters.

  • brandoptionalstring | null

    Up to 200 characters.

  • in_stockoptionalboolean | null

    Whether the product is available.

  • stock_quantityoptionalinteger | null

    Units in stock, ≥ 0.

  • image_urloptionalstring (URL) | null

    Main image, up to 2,048 characters.

  • imagesoptionalarray of strings (URL)

    Up to 50 image URLs.

  • urloptionalstring (URL) | null

    Product page URL.

  • tagsoptionalarray of strings

    Up to 100 tags, 100 characters each.

  • categoriesoptionalarray of strings

    Up to 100 categories, 100 characters each.

DELETE
/products/:id

Delete a product.

Permission: business_pages

Path parameters

  • idrequiredinteger

    Product ID.