Create an inventory record Check out the docs for more info
ID of the product.
Required fields: AddressID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create a new variant inventory record Check out the docs for more info
ID of the product.
ID of the variant.
Required fields: AddressID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete an inventory record Check out the docs for more info
ID of the product.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete an inventory record assignment Check out the docs for more info
ID of the product.
ID of the inventory record.
OptionalbuyerID?: stringID of the buyer.
OptionaluserGroupID?: stringID of the user group.
OptionaluserID?: stringID of the user.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete a variant inventory record Check out the docs for more info
ID of the product.
ID of the variant.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete an inventory record variant assignment Check out the docs for more info
ID of the product.
ID of the variant.
ID of the inventory record.
OptionalbuyerID?: stringID of the buyer.
OptionaluserGroupID?: stringID of the user group.
OptionaluserID?: stringID of the user.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Retrieve an inventory record Check out the docs for more info
ID of the product.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Get a single variant inventory record Check out the docs for more info
ID of the product.
ID of the variant.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List inventory records Check out the docs for more info
ID of the product.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
OptionalincludeAddress?: booleanInclude address of the inventory record.
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("ID" | "AddressID")[]Comma-delimited list of fields to search on.
OptionalsortBy?: ("ID" | "AddressID" | "!ID" | "!AddressID")[]Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List inventory record assignments Check out the docs for more info
ID of the product.
OptionalbuyerID?: stringID of the buyer.
OptionalinventoryRecordID?: stringID of the inventory record.
Optionallevel?: "Group" | "Company"Level of the inventory record assignment. Possible values: Group, Company, BuyerGroup.
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
OptionaluserGroupID?: stringID of the user group.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Get a list of variant inventory records Check out the docs for more info
ID of the product.
ID of the variant.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
OptionalincludeAddress?: booleanInclude address of the inventory record.
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("ID" | "AddressID")[]Comma-delimited list of fields to search on.
OptionalsortBy?: ("ID" | "AddressID" | "!ID" | "!AddressID")[]Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List inventory record variant assignments Check out the docs for more info
ID of the product.
ID of the variant.
OptionalbuyerID?: stringID of the buyer.
OptionalinventoryRecordID?: stringID of the inventory record.
Optionallevel?: "Group" | "Company"Level of the inventory record assignment. Possible values: Group, Company, BuyerGroup.
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
OptionaluserGroupID?: stringID of the user group.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Partially update an inventory record Check out the docs for more info
ID of the product.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Partially update a variant inventory record Check out the docs for more info
ID of the product.
ID of the variant.
ID of the inventory record.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create or update an inventory record If an object with the same ID already exists, it will be overwritten. Check out the docs for more info
ID of the product.
ID of the inventory record.
Required fields: AddressID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create or update an inventory record assignment Check out the docs for more info
ID of the product.
Required fields: InventoryRecordID, BuyerID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create or update a variant inventory record Check out the docs for more info
ID of the product.
ID of the variant.
ID of the inventory record.
Required fields: AddressID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create or update an inventory record variant assignment Check out the docs for more info
ID of the product.
ID of the variant.
Required fields: InventoryRecordID, BuyerID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example