shoppingList

Get a shopping list by id. Requires a B2B Token.

Arguments

idIntegerRequired
Shopping list id. This field is required.

Returns

an optional Object
idString
createdAtInteger
The created timestamp of the shopping list
updatedAtInteger
The updated timestamp of the shopping list
nameString
Shopping list name
descriptionString
Shopping list description
reasonString
Shopping list reason
statusInteger

Shopping list status. 0: Approved 20: Deleted 30: Draft 40: Ready for approval 50:Rejected

approvedFlagBoolean
Has the shopping list been submitted for approval
customerInfoObject
Shopping list customer information
isOwnerBoolean
If owner of shopping list
grandTotalString
grand total amount of shopping list
totalDiscountString
Total discount of shopping list
totalTaxString
Total tax of shopping list
isShowGrandTotalBoolean
If show grand total amount of shopping list
productsObject
products of shopping list
channelIdInteger
The channel id of the shopping list
channelNameString
The channel name of the shopping list
companyInfoObject
Company information of shopping list