Load alternatives at the SKU-Location level

Loads alternative SKU-locations into GAINS X; one record names a target SKU-location and a source SKU-location that can substitute for it, with the substitution and transport costs. Records that pass validation are loaded asynchronously; follow the returned task. See Sourcing & Product Structure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 65

The item code of the target product that will be substituted

string
required
length between 1 and 80

The location code where the target item is needed

string
required
length between 1 and 65

The item code of the source product used as a substitute. The source item and location together must differ from the target item and location.

string
required
length between 1 and 80

The location code from where the substitute item will be sourced. The source item and location together must differ from the target item and location.

double
required

The fixed cost associated with substituting the target item with the source item

double
required

The variable cost per unit for substituting the target item with the source item

double
required

The fixed cost associated with transporting the substitute item to the target location

double
required

The variable cost per unit for transporting the substitute item to the target location

boolean

Flag indicating whether this substitution should be excluded from processing

Headers
string
length ≤ 255

Optional key that makes a retry safe. A request repeating a key already used on this endpoint within the last 24 hours is refused with 400 and nothing is submitted again. A UUID is recommended; at most 255 characters

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json