Create order

Creates an order in your Yotpo store.

Is not possible to send automatic review request emails for orders that are older than six months.

👍

How to use this endpoint

  • Required parameters are listed below. For the full list of properties, see About orders.
  • To see example requests of full and minimal payload, click Examples in the payload on the right.
  • Want to send metadata with your order? Contact Yotpo support so we can turn this feature on for you.
Path Params
string
required

The store ID (app_key).

Body Params
string
required

The merchant's unique ID for the order.

date
required

The date the order was created in the store. Order date can be no more than 6 months into the past or future. Format must be ISO 8601.

line_items
array
required

Describes the products purchased and the desired quantity. Learn more

line_items*
fulfilled_items
array

Information about the specific items fulfilled (i.e. product and quantity). Required if the fulfillment object is provided. Learn more

fulfilled_items
Headers
string
required
Responses

Language
Choose an example:
application/json