cURL
curl --request POST \ --url https://api.withflex.com/v1/shipping_rates \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "shipping_rate": { "display_name": "<string>", "amount": 123, "metadata": {} } }'
{ "shipping_rate": { "shipping_rate_id": "<string>", "active": true, "display_name": "<string>", "amount": 123, "metadata": {}, "created_at": "<string>" } }
Creates a new shipping rate object
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object