Zalando data source
Here is basic instruction on how you can setup JSON importer to get needed data:
Step 1. Generate Access Token
Generate access token using Postman (it is not possible to get it using Coupler.io as we do not support "Content-Type=application/x-www-form-urlencoded" in POST requests).
- Open https://www.postman.com/
- Sign Up for free.
- Open workspace: Workspaces -> My Workspace https://monosnap.com/file/7OGHEasOuHzR5vvDXOf67XKfPHV37H
- Import the attached file to the workspace.
- Update "Authorization" details to your client and secret.
- Execute the request.
See short video instruction: https://monosnap.com/direct/I0Qx2DsYhe85ocFVW5vJwXNhnOYPN9
Copy the access token value from the response: https://monosnap.com/file/glUBDKzYRbOWzkSa4IdvoLkklEJMoA.
Step 2. Setup Coupler.io JSON importer
- JSON URL: https://api.merchants.zalando.com/zfs/item-quantities (or any from the list of possible requests - see table below)
- Method: GET
- Request headers: Authorization: Bearer <<your_access_token>>
Insert copied value to the Couper.io Request headers setting: https://monosnap.com/file/FSZ6kffOVlC4EodGy0hNVs5wYAqZTN - URL query parameters: <<optional>> (depends on the used API)
- Columns: <<optional, use it after your first import to limit the number of columns you want to import - copy the name of the column from the destination file>>
- Path: <<optional>> (depends on the used API)
Data entities you can fetch with Zalando and their API paths
API | Path | Main Uses |
---|---|---|
Product Attributes | /merchants/{merchant_id}/outlines /merchants/{merchant_id}/attribute-types |
Returns attribute data necessary for onboarding new products to the Zalando Catalog |
Price Reporting | /merchants/{merchant_id}/price-attempts | Get validation results of price updates |
Orders | /merchants/{merchant_id}/orders | Returns order processing status from Zalando (ZFS) |
Item Quantities (ZFS) | /zfs/item-quantities | Returns quantities of stock at Zalando warehouses |
Stock Movements (ZFS) | /zfs/liquidated-items/{merchant_id} | Returns the liquidated items for a merchant |
Stock Locations (ZFS) | /zfs/stock-locations | Returns the list of Fulfillment, Return and Inbound Distribution Centers |
Stock Locations (ZFS) | /zfs/stock-locations/{id} | Returns the details of Fulfillment, Return or Inbound Distribution Center by Stock Location ID |
Product Status Report | Uses GraphQL Base URL | Get product data per Merchant ID such as status, price, or stock |
Merchant Identifier (Merchant ID, BPID)
Many endpoints require your unique Merchant Identifier, also called a Merchant ID or Business Partner ID (BPID).
To view the Merchant ID for any Merchant associated with your Fashion Partner, go to the "Applications" section of the zDirect Portal. Select your app, and scroll down to "Access Control." In the Merchants pulldown menu, you will see each Merchant and its Merchant ID.
To request your Merchant ID programmatically, use the /auth/me endpoint. For a tutorial explaining how to request your Merchant ID, see the Quick Start Guide.
You can review detailed API documentation: https://developers.merchants.zalando.com/docs/api-overview.html.