Load vendor parameters and purchase order constraints

Loads vendor purchase order constraints into GAINS X; one record is one vendor, optionally at one receiving location, with its order constraint. Each submit replaces the whole set: constraints missing from the request are removed, so send the complete set in one request. Records that pass validation are loaded asynchronously; follow the returned task. See Sourcing & Product Structure.

GAINS X version requirement:

  • Min: 10.0-ER2609
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 80

The code identifying the vendor/supplier, as it appears in the item master

string
length between 0 and 80

Description of the vendor/supplier

string
length between 0 and 80

The code of the receiving location the constraint applies to, as it appears in the item master. Defaults to ALL when omitted.

string
length between 0 and 8

Parent of the listed vendors, for which several vendors may appear on one purchase order

string
length between 0 and 4

Groups under one constraint key every record that can be used to meet a single constraint

int32
1 to 3

1 = inventory vendor, 2 = vendor managed inventory (VMI), 3 = consignment vendor. Defaults to 1.

string
length between 0 and 12

High-level family that groups like product groups under a common vendor and purchase order constraint

double
required

The constraint quantity, for example a minimum billing amount. When POType is 4, 5 or 6 this is a lead time in days rather than a quantity.

int32
required
1 to 4

Unit of the purchase order minimum: 1 = cost, 2 = units, 3 = cubage, 4 = weight. Ignored when POType is 4, 5 or 6.

int32
required
1 to 6

The type of purchase order minimum: 1 = minimum quantity, 2 = maximum quantity, 3 = exact quantity. 4, 5 and 6 instead set the pre-order, post-receipt and supplier lead time from POQuantity and create no constraint.

int32
required
1 to 2

The level of adherence at which the restriction must be met: 1 = firm (for example a buying level minimum), 2 = soft (for example a freight level minimum). Ignored when POType is 4, 5 or 6.

double

The maximum carrying cost that recommended orders outside lead time may incur in order to meet a purchase order minimum. Defaults to 0.

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