Create new order and add order content. Status for new orders will always be set to unpaid
Basic Authentication with API Keys
The Quickbutik API uses Basic Authentication where you use your API key as both the username and password.
How it works:
api_key:api_key (using the SAME API key for both username and password)Authorization: Basic ENCODED_STRINGExample:
sk_live_abc123sk_live_abc123:sk_live_abc123c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=Authorization: Basic c2tfbGl2ZV9hYmMxMjM6c2tfbGl2ZV9hYmMxMjM=cURL Example:
curl https://api.quickbutik.com/v1/orders -u your_api_key:your_api_keyAll API requests must be made over HTTPS. Requests made over HTTP will be rejected.
API keys can be generated in the Quickbutik Control Panel under Settings → API.
Must be of value create to create a new order
"create"
Products in the order
Additional products to add to the order
Products to remove from the order
Remove any existing discount
Custom metadata for the order
Order created successfully
Results object containing response for each order creation attempt. Keys are dynamically generated as create_1, create_2, etc.