Update a Shipping Template
Updates the shipping template with the given ID.
URL: | https://api.trademe.co.nz/v1/Shipping/Templates/{shippingTemplateId}.{file_format} |
---|---|
HTTP Method: | PUT |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
shippingTemplateId | Integer (required) | |||||
---|---|---|---|---|---|---|
file_format | Enumeration (required) | The format of the response. | ||||
|
PUT Data
<ShippingTemplateRequest>
ShippingTemplateId | Integer (optional) |
The ID of the shipping template. Can be omitted if it is adding a template. |
||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | String (required) |
Name of the Shipping Template |
||||||||||||||||||||||||||
HandlingTime | TimeSpan (required) |
Handling time of the Shipping Template |
||||||||||||||||||||||||||
HandlingTimeCutOff | String (required) |
Handling time cut-off of the Shipping Template. It must be a 24-hour time in ISO 8601 extended format. E.g. for a cut-off time of 4:30 pm, this value should be "16:30" or "T16:30". Timezones and fractional seconds are not supported. |
||||||||||||||||||||||||||
IsOversized | Boolean (optional) |
If the Shipping Template is oversized |
||||||||||||||||||||||||||
IsRestricted | Boolean (optional) |
If the Shipping Template is restricted |
||||||||||||||||||||||||||
ShippingOptions | Collection of <ShippingOptionRequest> (required) |
List of Shipping Options related to the Shipping Template |
||||||||||||||||||||||||||
|
Returns
<UpdateShippingTemplateResponse>
Success | Boolean |
Indicates whether the operation was successful. |
---|