latestOpenAPI 3.0.12026-08-20112309904.6 KB
466169815b78
Collections - Tier-N
Get tier-n collection settings
Overview
Retrieve tier-n configuration for a collection. These settings are used as defaults when calling GET .../tier-n/data and can be overridden via query parameters there.
Related Operations
- Data: GET /public/v1/collections/{collectionId}/tier-n/data
- Update: PUT /public/v1/collections/{collectionId}/tier-n/settings
Required Permission
access_public_supplier_graph, access_collection, and read on the collection.
get/public/v1/collections/{collectionId}/tier-n/settings
Path parameters
collectionIdinteger required
Unique identifier of the tier-n collection. Same as the id from GET /public/v1/collections. The collection must have tiersEnabled=true.
Response
Successfully retrieved tier-n collection settings.
Example response
{
"collectionId": 123,
"collectionName": "My Tier-N Collection",
"maxTier": 3,
"targetIds": [
101,
102,
103
],
"scopePrivate": true,
"scopeShared": true,
"sourceCustomer": true,
"sourceCustoms": true,
"sourcePrewavePrediction": true,
"minShipments": 5,
"probability": 75,
"shipmentsPeriodFrom": "2024-01-01",
"shipmentsPeriodTo": "2024-12-31",
"commodityFilterTargetIds": [
201,
202
]
}