Returns the catalogs visible to the caller. Supplier users see every catalog; a customer context (vendorGuid) narrows the list to the catalogs that customer may order from.
Security
(ApiKey and ApiSecret) or (UserGuid and UserToken and SupplierGuid)
- Mock serverhttps://docs.orderwerks.com/_mock/openapi/v1/catalogs
- Productionhttps://owapi.orderwerks.com/v1/catalogs
- ApiKey + ApiSecret
- UserGuid + UserToken + SupplierGuid
curl -i -X GET \
'https://docs.orderwerks.com/_mock/openapi/v1/catalogs?vendorGuid=497f6eca-6276-4993-bfeb-53cbbbba6f08&onlyActive=true&checkIfHasCategories=true&includeDeletedPriceGroups=true' \
-H 'vendorGuid: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'x-apiKey: YOUR_API_KEY_HERE' \
-H 'x-apiSecret: YOUR_API_KEY_HERE'Response
{ "catalogs": [ { "id": 0, "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "supplier_id": 0, "name": "Main Catalog", "email": "string", "version": "string", "active": true, "order_item_type_id": 0, "currency_id": 0, "order_prefix_override": "string", "last_inventory_update": "2019-08-24T14:15:22Z", "Price_Groups": [ … ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "resource": "Catalog", "catalogsDetails": [ { "catalogGuid": "5c4291bd-3307-470f-9505-c1cf7a89ee66", "catalogName": "string", "catalogId": 0, "hasCategories": true } ] }