Update a carrier service
PUT https://api.ecartapi.com/api/v2/services/carriers/{{id}}
Request that updates a shipping carrier service.
Carrier service update properties.
| Attributes | Meaning |
|---|---|
| name(String) | Name that will represent your service on the seller store. |
| url(String) | URL where you will receive the live quotation requests. |
| settings(Object) | Settings that modify the response the ecommerce will receive. See table A for more information. |
TABLE A
Attributes inside the settings object
| Attributes | Meaning |
|---|---|
| hideDeliveryDate (String/Boolean) | Default is false. Choose if the delivery expected dates will appear on the check out page. |
Request Body
{"carrier"=>{"name"=>"Envia", "url"=>"envia.com", "settings"=>{"hideDeliveryDate"=>"false"}}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"success":true,"carrier":{"id":30273306698,"name":"Envia.com","active":false,"service_discovery":true,"carrier_service_type":"api","format":"json","callback_url":"https://envia.com/"}}