Create
Adds an item to the order that matches the given place date, shipping address, payment and customer. If no order matches, creates a new order for the item.
When a merchant with prepaid subscriptions has turned off mixed prepaid orders, returns 400 if the matching order already contains an item from a prepaid subscription.
Authentication
x-api-keystring
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
OR
Request
This endpoint expects an object.
merchant_id
Merchant ID
customer_id
Customer ID
shipping_id
Shipping address record ID
payment_id
Payment record ID
offer_id
Offer ID
product_id
Product ID
place_date
Date for order placement, should be in MM/DD/YYYY format
quantity
Number of items
contexts
Items contexts as key:value
Response
200
order
offer
subscription
product
components
subscription_component
quantity
public_id
product_attribute
price
extra_cost
total_price
one_time
order_updated
frozen
first_placed
Errors
400
Bad Request Error
403
Forbidden Error