latestOpenAPI 3.0.02026-08-105585620.8 KB
18e2f2e178dd
Orders API
Create a new order
Creates a new order and optionally submits it for fulfillment (See examples)
post/orders
Query parameters
confirmboolean
Automatically submit the newly created order for fulfillment (skip the Draft phase)
update_existingboolean
Try to update existing order if an order with the specified external_id already exists
Headers
X-PF-Store-Idstring
Use this to specify which store you want to use (required only for account level token).
The store IDs can be retrieved with the Get basic information about stores endpoint.
Request body
Order required— unresolved $ref
Response
OK