Place your first wholesale order
Problem
You have an API key from the FazerCards panel and want to confirm the full path — pick a SKU, place an order, retrieve the code — in under five minutes.
Solution
List the catalog with `GET /catalog`, pick any product (Amazon $10 gift card is the canonical first SKU), then `POST /order` with the SKU id and an `Idempotency-Key`. The response either carries the code directly (for code-based SKUs) or returns an order id you can poll via `GET /order/{id}` until status is `completed`. Webhooks (next recipe) replace polling in production.
# 1. Browse the catalog
curl -s "https://api.fzr.cards/api/v2/catalog" \
-H "X-Api-Key: $FAZER_API_KEY" | jq '.items[0]'
# 2. Place an order (Amazon $10, US storefront)
curl -s -X POST "https://api.fzr.cards/api/v2/order" \
-H "X-Api-Key: $FAZER_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"sku_id":"amazon-us-10","quantity":1}'
# 3. Retrieve order status + code
curl -s "https://api.fzr.cards/api/v2/order/<ORDER_ID>" \
-H "X-Api-Key: $FAZER_API_KEY" | jq