Create carrier service
POST https://api.ecartapi.com/api/v2/services/carriers
Request Body
{"carrier"=>{"active"=>"true", "name"=>"Envia test", "url"=>"https://envia-api-dev.herokuapp.com/v2/checkout/Yampi/33675"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"carrier":{"id":"652704fa3d0d0f4cf86def0a","carrierId":null,"url":"https://envia-api-dev.herokuapp.com/v2/checkout/Yampi/33675","ratesUrl":"http://localhost:3000/api/v2/services/carriers/actions/0pQWYIOvC57MIRYx1697055993472","servicesUrl":null,"name":"Envia test","active":true,"createdAt":"2023-10-11 15:26:34"}}