Files
medusa-store/docs/api/admin/code_samples/Shell/shipping-options/postundefined
2022-09-05 10:23:46 +03:00

11 lines
314 B
Plaintext

curl --location --request POST 'https://medusa-url.com/admin/shipping-options' \
--header 'Authorization: Bearer {api_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "PostFake",
"region_id": "afasf",
"provider_id": "manual",
"data": {},
"price_type": "flat_rate"
}'