Create Carrier

POST https://api.ecartapi.com/api/v2/services/carriers

Creates a shipping provider service for BigCommerce.

carrier.id must be exists

For get carrier.id field you need your Bigcommerce app ID to generate it, with your app ID and aditional information you must send a request by email to BigCommerce.

You can see more information about the request of carrier id here

Request Body

{"carrier"=>{"name"=>"testservice", "id"=>"carrier_251", "url"=>"https://webhook.site/deb7e830-ae74-4fd0-97e2-810e6788920f"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"carrier":{"id":"643888944a60604b1069c99d","carrierId":"carrier_251","url":"https://webhook.site/deb7e830-ae74-4fd0-97e2-810e6788920f","ratesUrl":"http://localhost:3000/api/v2/services/carriers/actions/3hewpxibj8","servicesUrl":null,"name":"testservice","active":true,"createdAt":"2023-04-13 17:56:20"}}