Supply and Demand API reference attribute
You can use the optional reference and referenceType
attributes of the Supply and Demand APIs to define any identifiers that you might need for your
records.
For example, when creating supply and demand you can use the
reference attribute
to store any value and use the referenceType attribute to define the type of value,
as shown in the following simple implementation examples.- For in-store purchases through a Point of Sale system, you might want to set
referenceType=POSandreference=<systemGeneratedBarcode>. - For drop ship business models, when you make a supply purchase order, you might want to set
referenceType=dropshipandreference=<customerOrderNumber>. - For items that need to be inspected before picking, you might want to set
referenceType=Precheckandreference=<customerOrderNumber>.
Note: When reducing supply and demand, use the same values for
reference and
referenceType which were used during its creation.