Shopify Orders

Create multiple Shopify orders for a merchant

Changed on

Create multiple Shopify orders for a merchant

post/api/v1/shopify-orders/bulk

Request

Request body

merchant_idstring uuid

Merchant ID. Defaults to the logged-in merchant if not provided. Required for admin tokens.

ordersobject[] required

Array of Shopify order data objects

Example request

{
  "merchant_id": "550e8400-e29b-41d4-a716-446655440000",
  "orders": [
    {
      "order_id": "12345",
      "total": "100.00"
    }
  ]
}

Response

Created

successboolean

Indicates if the request was successful

dataobject[]

Array of Shopify orders

Example response

{
  "success": true
}

Changes

    • breaking

      the / response's property type changed from string to no type for status

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      endpoint added