Sign in

Create customer

documented

Create a new customer for a store.

POST /stores/{store_id}/customersStoresno 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.foxycart.com/stores/{{$store_id}}/customers" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "FOXY-API-VERSION: 1" \
  -H "Content-Type: application/json" \
  -H "Accept: application/hal+json" \
  -d '{"email": "{{$email}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "password": "{{$password}}", "tax_id": "{{$tax_id}}", "country": "{{$country_code}}"}'
Create customer · foxy · OpenIntegrations