v1
latestOpenAPI 3.0.02026-07-2455104.8 MBShipping Methods
Create shipping method
Creates new shipping method.
post/api/v1/shippingMethods
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",
"extra": {
"field1": "value1",
"field2": "value2"
},
"id": "post-ch",
"product": {
"id": "post-ch-express",
"shipmentType": "outbound"
}
}
},
"printers": {
"label": {
"id": "1337"
},
"document": {
"id": "1337"
}
}
}Response
Resource successfully created response