Create and add products to store
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.
Product title
"My white tee!"
Article Number (SKU)
"T-SHIRT123"
Product description. Accepts HTML
"<p><strong>This is so so cool!</strong> Heee</p>"
Price
299
Compare price
399
Purchase price (excl. vat)
69
VAT percent (%)
Weight (in grams)
400
Stock quantity
1
Stock: Disable minus quantity?
"1"
EAN-number / GTN (Global Trade Item Number)
Optional: Category id if a product should be placed into a specific category
Optional: Category name if product should be placed into a new category
"T-shirts"
Visibility in store
1
Object with numeric string keys containing image objects. Each key represents an image position/index.
Custom metadata for the product
URL to create a permanent redirect from (for SEO purposes)
Skip creation if product with same SKU already exists
Product variants configuration