Adds a Shipping Method to an Order. If another Shipping Method exists with the same Shipping Profile, the previous Shipping Method will be replaced.
Request
Body Params application/json
{
"price": 0,
"option_id": "string",
"date": {}
}
Request samples
curl --location --request POST 'https://api.medusa-commerce.com/admin/orders//shipping-methods' \
--header 'Content-Type: application/json' \
--data-raw '{
"price": 0,
"option_id": "string",
"date": {}
}'
Responses
application/json Modified at 2023-10-08 12:50:29