get
https://api.ecartapi.com/api/v2/services/allowed
Retrieves the list of allowed carriers for the Amazon fulfillment.
Usage:
- The returned
allowedCarriersarray provides the valid values for thecompanyIdfield when creating a fulfillment (e.g., in the POST create fulfillment endpoint).
Response:
-
Returns a JSON object with a
successstatus and an arrayallowedCarriers, where each carrier includes itsidandname. -
The id is the ecartapi reference and the name is the Amazon reference.
-
Recommended uses the id
-
The values could be different vs the old documentation, but both works
Example Response:
{
"success": true,
"allowedCarriers": [
{"id": "17feia", "name": "17FEIA"},
{"id": "360lion", "name": "360lion"},
...
]
}