Sign in

Create cart

documented

Create a new cart for a store.

POST /stores/{store_id}/cartsStoresno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.foxy.io/stores/{{$store_id}}/carts" \
  -X POST \
  -H "FOXY-API-VERSION: 1" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/hal+json" \
  -d '{"template_set": "{{$template_set}}", "language": "{{$language}}", "customer_email": "{{$customer_email}}", "customer_uri": "{{$customer_uri}}", "locale_code": "{{$locale_code}}", "currency": "{{$currency}}"}'
Create cart · foxy · OpenIntegrations