DC Fulfillment Node Config API (v0)
Download OpenAPI specification:Download
Use this API to define and update URLs and API keys for warehouse integrations.
Get DC configuration
Retrieves the configuration for a DC in the NewStore platform.
Note: This only applies to warehouses that have a configuration already set up.
path Parameters
id required | string ID for a DC fulfillment node. |
Responses
Response samples
- 200
- 404
- 500
{- "api_config": {
- "url": "dc_fulfillment_node_url.com",
- "api_key": "dc_provider_api_key",
- "allow_unsecured_http": false
}
}
Update DC configuration
Adds or updates the configuration for a DC in the NewStore platform.
Use this method to add the configuration for a DC in your business for fulfilling orders.
If a configuration for DC or store was not working correctly, you only need to fix the integration once. The platform automatically re-sends any fulfillment requests that were unsuccessful before due to the wrong configuration, once a day.
path Parameters
id required | string ID for a DC fulfillment node. |
Request Body schema: application/json
required | object (API Configuration of DC fulfillment node) Schema for API configuration of DC fulfillment node | ||||||
|
Responses
Request samples
- Payload
{- "api_config": {
- "url": "string",
- "api_key": "string",
- "allow_unsecured_http": true
}
}
Response samples
- 200
- 400
- 409
- 500
{- "api_config": {
- "url": "dc_fulfillment_node_url.com",
- "api_key": "dc_provider_api_key",
- "allow_unsecured_http": false
}
}