Shipping Methods
View shipping method
Changed onShows the details of a Shipping Method
get/api/v1/shippingMethods/{id}
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Resource identifier.
Example:17
The resource's identifier.
Response
Operation completed successfully.
Example response
{
"type": "genericCarrier",
"isActive": true,
"name": "New generic Carrier",
"project": {
"id": "1337"
},
"carrier": {
"carrier": {
"credentials": {
"basic": {
"username": "your-username",
"password": "your-password"
}
},
"serviceUrl": "https://api.example.com",
"id": "post-ch",
"product": {
"id": "post-ch-express",
"shipmentType": "outbound"
}
}
},
"shippingLabelPrinter": {
"id": "1337"
},
"exportDocumentPrinter": {
"id": "1337"
},
"shippingEmailBehaviour": "default behaviour",
"textTemplate": {
"id": "77",
"type": "Template Type"
},
"supportDeliveries": true,
"supportReturns": true
}Changes
- warning
removed the optional property
/from the response with the status - info
added the non-success response with the status
- warning