Add a Shipping Template and related options
Adds a Shipping Template and related options.
URL: | https://api.trademe.co.nz/v1/Shipping/Templates.{file_format} |
---|---|
HTTP Method: | POST |
Requires Authentication? | Yes |
Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
file_format | Enumeration (required) | The format of the response. | ||||
---|---|---|---|---|---|---|
|
POST 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
<AddShippingTemplateResponse>
Success | Boolean |
Indicates whether the operation was successful. |
---|---|---|
ShippingTemplateId | Long Integer |
The ID of the created shipping template. |