Shipping Methods
Create shipping method
Changed onCreates new shipping method.
post/api/v1/shippingMethods
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"isActive": true,
"name": "New 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"
}
}
},
"printers": {
"label": {
"id": "1337"
},
"document": {
"id": "1337"
}
}
}Response
Resource successfully created response
Changes
- warning
removed the request property
/ - info
added the new optional request property
/ - info
added the non-success response with the status
- warning