Skip to main content
Print

Orders

Requires shop Bearer. Mirrors admin order actions (fulfillment, tracking, Shiprocket, mark-as-).

curl -sS "$API_BASE/v1/account/api/orders" \

  -H "Authorization: Bearer $SHOP_TOKEN"

curl -sS "$API_BASE/v1/account/api/orders/5001" \

  -H "Authorization: Bearer $SHOP_TOKEN"

curl -sS -X POST "$API_BASE/v1/account/api/orders/5001/fulfill" \

  -H "Authorization: Bearer $SHOP_TOKEN" \

  -H "Content-Type: application/json" \

  -d '{}'

Not supported: cancel, refund.

Customers

Requires shop Bearer.

curl -sS "$API_BASE/v1/account/api/customers" \

  -H "Authorization: Bearer $SHOP_TOKEN"

curl -sS -X POST "$API_BASE/v1/account/api/customers" \

  -H "Authorization: Bearer $SHOP_TOKEN" \

  -H "Content-Type: application/json" \

  -d '{"email":"buyer@example.com","first_name":"Sam","last_name":"Lee"}'

Addresses live under /customers/{cid}/addresses.

Customer groups: /customer-groups with member add/remove.

Scroll to Top