Endpoint - Shipping Tags
This call is expected to return an array of shipping methods friendly names and their tags to generate a pre-populated list in the config shipping mapping screen.
Request
Post
ShippingTagsRequest
ShippingTagsRequest
Field Name | Type | Description |
---|---|---|
AuthorizationToken | String | Authorization Token from the customers integration. |
Sample
{
"AuthorizationToken": "0dfdbaf3e4d5434f825e774e31bcc148"
}
Response
ShippingTagsResponse
ShippingTagsResponse
Field Name | Type | Description |
---|---|---|
Error | String | If there was an error with the request. |
ShippingTags | ShippingTag[] | Array of shipping tags. See Shipping Tag table. |
ShippingTag
ShippingTag
Field Name | Type | Description |
---|---|---|
Tag Required | String | The shipping tag that is supplied on the order. Limit: 64 Characters |
FriendlyName Required | String | Friendly name of the shipping tag. Limit: 255 Characters |
Site | String | Site of the shipping tag, this is usually used when the channel has one set of credentials however has multiple sites for example UK, DE, US and so on. Leave blank if this is not applicable. Limit: 25 Characters |
Sample
{
"Error": null,
"ShippingTags": [
{
"Tag": "RM CLR01",
"FriendlyName": "Royal Mail First Class",
"Site": ""
},
{
"Tag": "RM_SpecialDelivery_9am",
"FriendlyName": "Royal Mail Special Delivery",
"Site": ""
},
{
"Tag": "dpd",
"FriendlyName": "DPD - Next Day",
"Site": ""
},
{
"Tag": "fedex_ground",
"FriendlyName": "Fedex - Ground",
"Site": ""
},
{
"Tag": "matrix_rate_10221",
"FriendlyName": "Some other service",
"ListValues": [],
"Site": ""
}
]
}
{
"Error": "Invalid authorization token",
"ShippingTags": []
}
Updated about 1 month ago