Create
This endpoint locates an existing order using the specified place date, shipping, payment and customer parameters, adding an additional item to that order. If no order exists with these parameters, it will create a new order and add an item for that order.
Authentication
x-api-keystring
API Key authentication via header
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