Load supercession relationships

Loads supercession relationships into GAINS X; one record is one new (superseding) item with the old items it replaces. 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
NewItem
object
required

The item that supersedes the old items

OldItems
array of objects
required
length ≥ 1

The items superseded by the new item; none may have the same ItemCode and LocationCode as NewItem

OldItems*

The items superseded by the new item; none may have the same ItemCode and LocationCode as NewItem

string
required
length between 1 and 65

The code of the old item being superseded

string
required
length between 1 and 80

Location code where the old item is located

double

Percentage of history that is copied over from the old item to the new item

boolean

Flag to indicate if the inventory of the superseded item should be incorporated into the effective on-hand of the superseding item

string
length between 0 and 227

Brief explanation or notes on why the item is being superseded

int32

Manually set forecast model override for the item at the specified location

int32

Flag indicating whether the history of the superseded item should be moved or copied to the superseding item

string
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$

Date and time when the supercession takes effect. Format: YYYY-MM-DD HH:MM:SS

boolean

Whether supply transactions for the old item roll up to the new item

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