Collections - Tier-N
Get tier-n collection settings
Changed onOverview
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
Request
- Base URLhttps://api.prewave.com
- AuthAPI key in header X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
]
}Changes
- info
response property
suspectedSuppliersdeprecated
- info