Files
medusa-store/docs/api/admin/code_samples/Shell/customers/post.sh
2023-02-09 09:50:55 +02:00

10 lines
300 B
Bash

curl --location --request POST 'https://medusa-url.com/admin/customers' \
--header 'Authorization: Bearer {api_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"first_name": "Caterina",
"last_name": "Yost",
"password": "supersecret"
}'