Update a shipping template
You can update or delete a shipping template with the Settings APIs.
Update a shipping template
To update a shipping template, Call the Update Shipping Template API: PUT /v3/settings/shipping/templates/{templateId}
View shipping template samples
We provide several sample shipping templates for various scenarios. See Payload Samples in Update Shipping Templates API Reference to view samples.
Template 3
This sample shows a payload example to update the Template 3 described above.
Sample: Template 3
Each of these sample shipping templates corresponds to JSON samples provided in the API Reference: /v3/settings/shipping/templates{templateId}.
{ "id": "420252695329751041", "name": "CustomTemplate", "type": "CUSTOM", "rateModelType": "PER_SHIPMENT_PRICING", "status": "ACTIVE", "shippingMethods": \[ { "shipMethod": "STANDARD", "status": "ACTIVE", "configurations": \[ { "regions": \[ { "regionCode": "MX-NE", "regionName": "REGIÓN NORESTE", "subRegions" : [ { "subRegionCode" : "1070", "subRegionName" : "Coahuila" } ] } ], "addressTypes": [ "STREET" ], "transitTime": 1, "perShippingCharge": { "unitOfMeasure": "KG", "shippingAndHandling": { "amount": 100, "currency": "MXN" }, "chargePerWeight": { "amount": 0, "currency": "MXN" } } } ] } ] }
Updated about 1 month ago