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

9 lines
261 B
Bash

curl --location --request POST 'https://medusa-url.com/admin/tax-rates' \
--header 'Authorization: Bearer {api_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "TEST",
"name": "New Tax Rate",
"region_id": "{region_id}"
}'