Skip to main content

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

Content type
application/json
{
  • "api_config": {
    }
}

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

url
required
string
api_key
required
string
allow_unsecured_http
required
boolean

Responses

Request samples

Content type
application/json
{
  • "api_config": {
    }
}

Response samples

Content type
application/json
{
  • "api_config": {
    }
}