Download OpenAPI specification:Download
fabric provides multi-carrier shipping and logistics solution to address all of your common shipping issues, without the addition of expensive infrastructure. You can explore various shipping methods with rates, and configure them to your ecommerce store. This will help provide your customers with options that are most suitable for their needs, since some are willing to add additional items to the cart in order to qualify for free shipping, while others are willing to pay more for same-day or next-day delivery. Therefore, offering the right options is crucial for a delightful shopping experience. Shipping rates are the most crucial part of shipping methods and are dependent on shipment's dimensions, weight, size, source of origin and destination, and type of packaging.
Creates shipping method. Response includes shippingMethodId, which is required for subsequent calls such as GET /{shipmethodId}, PATCH/{shipmethodId}, DELETE /{shipmethodId}, and GET /{shipMethodId}/items.
required | object (XSiteContext) Represents single or multi-tenancy |
OK
Bad Request
Ship method Not Found
Internal Server Error
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Gets details of a shipping method by its ID.
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Deletes a shipping method by its ID
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Updates shipping method by its Id
required | object (XSiteContext) Represents single or multi-tenancy |
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
{- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Associated items to a shipping method
required | object (XSiteContext) Represents single or multi-tenancy |
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "itemIds": [
- "234553",
- "12345"
]
}
[- {
- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "itemId": "1234",
- "deleted": false
}
]
Gets shipping method by specified filter criteria.
required | object (XSiteContext) Represents single or multi-tenancy |
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "limit": 10,
- "offset": 0,
- "sortBy": "createdBy",
- "sortDirection": "desc",
- "filters": {
- "name": "UPS",
- "description": "UPS for 2-5 days",
- "deleted": "false",
- "addressType": [
- "APO"
], - "createdAt": {
- "lt": "2022-09-11T23:12:00.123Z"
}, - "createdBy": "USER-1"
}
}
{- "count": 100,
- "limit": 10,
- "offset": 1
}
Gets items associated with a shipping method
required | object (XSiteContext) Represents single or multi-tenancy |
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "count": 100,
- "limit": 10,
- "offset": 1,
- "itemIds": [
- "1233434",
- "223333"
]
}
Gets shipping methods for an item
OK
Bad Request
ShipMethod Not Found!
Internal Server Error
{- "shippingMethods": [
- {
- "shippingMethodId": "5349b4ddd2781d08c09890f4",
- "name": "Express Delivery",
- "description": "Express Delivery 2 - 5 days",
- "taxCode": "tax_1",
- "minimumDays": 2,
- "maximumDays": 5,
- "cutOffTime": 1330,
- "cost": 20,
- "channel": "12",
- "region": "CA",
- "deleted": false,
- "createdBy": "User1",
- "updatedBy": "User2",
- "configuredBy": "User3",
- "addressType": "APO",
- "weight": {
- "min": 2,
- "max": 3
}, - "cartValue": {
- "min": 2,
- "max": 3
}, - "dimension": {
- "min": {
- "height": 2,
- "width": 3,
- "length": 4
}, - "max": {
- "height": 2,
- "width": 3,
- "length": 4
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}