Get bundle information for a bundle.
OK
Unauthorized
Forbidden
No bundle found with the bundleId provided
{- "externalBundleId": "string",
- "title": "string",
- "sku": "string",
- "bundleContents": [
- {
- "productId": "stringstrin",
- "quantity": 0
}
], - "bundleId": "stringstrin",
- "createdAt": "2019-08-24T14:15:22Z"
}
Get available inventory information for the bundle.
OK
bundleId required | string (BundleIdType) = 11 characters ^B[0-9a-zA-Z]+$ The globally unique bundle identifier created by Flexport and assigned on bundle creation. May be referred to in other documentation as the Flexport SKU or BSKU. |
availableUnits required | number <double> The number of units available for sale - not reserved for open orders, belonging to bundles that are in a pickable and shippable state at connected warehouses. |
Unauthorized
Forbidden
No bundle found with the bundleId provided
{- "bundleId": "stringstrin",
- "availableUnits": 0
}
Creates a new bundle.
externalBundleId required | string (ExternalBundleIdType) [ 1 .. 255 ] characters A permanent unique reference for this bundle generated by and meaningful to the API user. This value will be used when sending orders to identify the bundle to ship. This value must be unique among all bundles created via API. | ||||
title required | string [ 3 .. 255 ] characters The bundle title or short description. Should represent a single line of text suitable to identify the bundle or for search purposes. | ||||
sku required | string (SkuType) [ 1 .. 255 ] characters The human-readable Stock Keeping Unit (SKU) for reporting. This value may change over time. | ||||
required | Array of objects (BundleContent) [ 1 .. 20 ] items | ||||
Array ([ 1 .. 20 ] items)
|
Bundle has been created
Unauthorized
Forbidden
No bundle found with the bundleId provided
Unprocessable Entity
{- "externalBundleId": "string",
- "title": "string",
- "sku": "string",
- "bundleContents": [
- {
- "productId": "stringstrin",
- "quantity": 0
}
]
}
{- "externalBundleId": "string",
- "title": "string",
- "sku": "string",
- "bundleContents": [
- {
- "productId": "stringstrin",
- "quantity": 0
}
], - "bundleId": "stringstrin",
- "createdAt": "2019-08-24T14:15:22Z"
}