Address
addressLine1First line of the address (maximum 30 characters).
cityCity name (maximum 15 characters).
stateTwo-letter state code.
zipCodeFive-digit ZIP code.
addressLine2Second line of the address (optional, maximum 30 characters).
Bill
idUnique bill identifier.
vendorCodeCode of the vendor this bill is from.
invoiceNumberThe vendor's own invoice number.
invoiceDateDate on the vendor's invoice.
enteredDateDate the bill was entered.
dueDateDate payment is due, when one was entered. Empty otherwise; the back office then works it out from the vendor's payment terms.
amountBill amount. Negative for credit memos. For a bill with items it is the sum of the item subtotals plus the vendor markup.
controlTotalThe total from the vendor's paper invoice, keyed in to check the entry. The bill can only be
approved when it equals amount.
amountCreditedVendor credits applied against this bill.
amountPaidAmount paid so far.
discountTakenDiscount taken on this bill.
balanceOutstanding balance (Amount − AmountPaid − AmountCredited − DiscountTaken). Zero means fully settled.
A vendor's payment terms: when a bill is due and the early-payment discount, as set up in the back office.
statusWhether a bill may be paid yet.
descriptionShort one-line description (up to 30 characters), shown in the back office's bill lists.
notesFree-form notes of any length.
Items received on this bill. Empty for a bill without items (an expense, fee or credit memo).
BillItem
lineNumberLine number within the bill.
productIdProduct identifier the item was received against.
productCodeItem code / UPC that was received (an alias code when the product was received under one).
vendorItemNumberThe vendor's own item number for this product.
descriptionDescription recorded on the item.
quantityNumber of cases received. Negative for a return.
unitPricePrice paid, for a case or a single unit (see pricedPer).
pricedPerWhat a vendor price is for: a case or a single unit.
unitsPerCaseUnits in a case.
markupPercentageVendor markup percentage added to this item's cost.
receivedDateInvoice date the item was received under.
subtotalCost of this item on the bill: cases × (units per case when priced per unit) × price, rounded to cents.
BillListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
ChargeCardRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: cardId | |
| type = object · requires: card |
cardIdExisting stored card id. Mutually exclusive with Card.
externalIdClient-provided external ID for this charge. Must be unique across all records. Used for idempotency — retrying with the same ID returns 409 instead of double-charging.
amountAmount to charge. Must be greater than zero.
Temporary credit card details for one-time use on an order.
ChargeResult
amountChargedAmount approved by the gateway.
authCodeAuthorization code from the card issuer.
referenceNoGateway reference number.
maskedCardNumberMasked card number.
newBalanceCustomer's new account balance after the charge.
CreateBillItemRequest
quantityNumber of cases received; not 0. Negative for a return (see the class remarks): stock goes down, cost is untouched.
unitPricePrice paid, for a case or a single unit (see pricedPer). Not negative: a credit is a negative
quantity, or a bill without items and a negative amount.
productIdProduct identifier. Provide this or productCode.
productCodeItem code / UPC (or an alias code). Used when productId is not given.
vendorItemNumberThe vendor's own item number. Defaults to the product's item code.
pricedPerWhat a vendor price is for: a case or a single unit.
unitsPerCaseUnits per case. Default 1.
itemsPerPackItems per pack (each unit's pack size). Default 1.
updateInventoryChange on-hand stock by the received units (down for a return). Default true. False records the item on the bill only — and then cost is not updated either.
updateLastCostLet this item set the product's last cost (the cost of the latest-dated item that allows it). Default true.
Ignored — treated as false — for a return or when updateInventory is false.
updateAverageCostBlend this item's cost into the product's average cost. Default true. Ignored — treated as false — for a
return or when updateInventory is false.
CreateBillRequest
externalBillIdYour own unique ID for this bill. Re-submitting an ID already in use returns 409.
vendorCodeCode of the vendor the bill is from.
invoiceNumberThe vendor's invoice number. Must be unique for the vendor.
invoiceDateDate on the vendor's invoice.
amountBill amount. Negative for a credit memo.
termsCodePayment terms code for this bill (see GET /payment-terms). Defaults to the vendor's terms.
dueDateDate payment is due. Optional: when omitted none is stored (the back office then works it out
from the vendor's payment terms), and the bill's dueDate is returned empty.
descriptionShort description.
notesFree-form notes of any length.
Received line items. When present, the bill's amount is computed from the lines and
amount is the control total from the vendor's paper invoice, which must match before
the bill can be released.
Customer
idUnique identifier for the customer.
lastNameCustomer's last name (maximum 18 characters).
phoneCustomer's phone number (10 digits). On a phone-number lookup this is the phone the search matched (primary or secondary); otherwise the primary.
Represents a physical address.
firstNameCustomer's first name (maximum 12 characters).
phonesAll phone numbers on this customer record: the primary one plus an optional secondary one. Each is unique across customers.
emailCustomer's email address (maximum 35 characters).
List of credit cards associated with the customer.
Gets or sets the collection of shipping addresses associated with the customer.
lastModifiedGets or sets the last modified date and time of the customer.
isOnAccountEligibleCustomer's eligibility to use OnAccount.
routeCustomer's default delivery route code. Inherited onto new orders that don't specify one.
seqCustomer's default stop sequence within the delivery route.
CustomerBalance
idCustomer identifier.
balanceAccount balance. Positive = customer owes, negative = store owes customer.
CustomerCreditCard
idUnique identifier for the credit card.
maskedMasked credit card number.
expExpiration date in MMYY format.
nameName on the credit card.
zipCodeBilling zip code associated with the credit card.
issuerGets the name of the issuer associated with the credit card.
CustomerId
idUnique identifier for the customer.
CustomerListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
CustomerRequest
lastNameCustomer's last name (maximum 18 characters).
phoneCustomer's phone number (10 digits).
Represents a physical address.
firstNameCustomer's first name (maximum 12 characters).
emailCustomer's email address (maximum 35 characters).
DeliveryAddress
nameName of the person receiving the delivery (maximum 30 characters).
phoneNumberContact phone number for delivery.
Represents a physical address.
DeliveryAddressRequest
nameName of the person receiving the delivery (maximum 30 characters).
phoneNumberContact phone number for delivery.
Represents a physical address.
DeliveryRoute
codeRoute code (up to 8 characters).
descriptionHuman-readable route description.
DueFrom
What a payment-terms due date is counted from.
GrantedItem
itemCodePrimary item code (UPC/SKU). Pass this as itemCode on sale records.
descriptionItem description.
brandBrand.
sizeNumeric size. Omitted when the catalog size is zero.
unitUnit of measure for size.
GrantedItemListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
Invoice
invoiceNumberUnique invoice number.
orderNumberOrder number associated with this invoice.
invoiceDateDate the invoice was created.
taxAmountTax amount applied to this invoice.
taxableAmountGets or sets the amount that is subject to taxation.
discountAmountDiscount amount applied to this invoice.
subtotalAmountSubtotal amount before tax and discount.
List of invoice line items.
registerNumberRegister number where the invoice was created.
externalInvoiceIdExternal invoice identifier (maximum 20 characters).
customerIdCustomer identifier associated with this invoice.
totalAmountGets the calculated total amount (subtotal + tax - discount).
memoMemo/remark for this invoice.
Represents a delivery address with contact information.
List of payments associated with this invoice.
InvoiceLine
productIdProduct identifier (maximum 8 characters).
quantityQuantity of the product.
priceQtyPrice quantity multiplier.
unitPriceUnit price of the product.
discountAmountDiscount amount applied to this line item.
priceTypeRepresents the type of price applied to an invoice line item.
subtotalAmountSubtotal amount for this line item.
taxableWhether this line item is taxable.
isFoodStampItemWhether this line item is a food stamp item.
discountPercentageGets or sets the discount percentage applied to the total price.
InvoiceLineRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: ProductId | |
| type = object · requires: ProductCode |
productIdProduct identifier (maximum 8 characters).
productCodeGets or sets the unique code that identifies the product (maximum 12 characters).
quantityQuantity of the product.
priceQtyPrice quantity multiplier.
subtotalGets or sets the subtotal amount before any taxes or discounts are applied.
unitPriceUnit price of the product.
isTaxableIs this item taxable
discountAmountDiscount amount applied to this line item.
isFoodStampItemWhether this line item is a food stamp eligible item. Warning: This field will become required in a future version. Start providing it now to avoid breaking changes.
priceTypeRepresents the type of price applied to an invoice line item.
InvoiceRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: customerId | |
| type = object · requires: customer |
customerIdExisting customer ID. If provided, the customer object is ignored.
externalInvoiceIdExternal invoice identifier (maximum 20 characters).
Request model for creating a new customer.
invoiceDateDate the invoice was created.
List of payments associated with this invoice.
List of invoice line items.
taxAmountGets or sets the total amount of tax applicable to the transaction.
taxableAmountGets or sets the total taxable amount (sum of taxable line items before tax).
orderMethodRepresents the method by which an order will be fulfilled.
memoGets or sets the memo associated with the Invoice
ItemPrice
qtyQuantity for this price. Defaults to 1 if set to 0.
priceQtyTypeRepresents the type of quantity for a price.
pricePrice of the item.
priceTypeRepresents the type of price applied to an invoice line item.
cashAndCarryOnlyValue indicating whether the price is for cash and carry only.
daysOfWeekThe days of the week when the price is valid
membersOnlyIs the price for members only
nameRepresents the type of price applied to an invoice line item.
priceFromDate from which the price is valid.
priceTillDate until which the price is valid.
priceTimeFromTime from which the price is valid (time-based pricing).
priceTimeTillTime until which the price is valid (time-based pricing).
minimumPurchaseThe minimum unit purchase required to apply this price
maxQtyThe maximum times this price can be applied
Order
idUnique internal identifier for the order.
customerIdCustomer identifier associated with this order.
List of order line items.
invoiceNumberInvoice number associated with this order.
statusRepresents the current status of an order.
dateTimeCreatedDate when the order was created.
externalOrderIdExternal order identifier (maximum 20 characters).
Represents a delivery address with contact information.
orderMethodRepresents the method by which an order will be fulfilled.
pickupDeliveryTimeScheduled pickup or delivery time.
noteAny additional notes for the order.
routeDelivery route code. Inherited from the customer when not supplied explicitly.
seqStop sequence within the delivery route.
List of pre-payments made for this order.
Represents a payment endpoint configuration for external payment systems.
paymentMethodPayment method for an order.
cardLast4Last 4 digits of the card number, for display. Only populated when payment method is a credit card.
cardExpCard expiration in MMYY format. Only populated when payment method is a credit card.
OrderLine
orderIdOrder identifier this line belongs to.
productIdProduct identifier (maximum 8 characters).
quantityQuantity ordered.
priceQtyPrice quantity multiplier.
totalPriceTotal price for this line item: unitPrice × quantity, rounded to cents
(half away from zero, as the register rounds) and always at two decimals. Computed, so the
GET and edit responses agree.
productCodeProduct code (SKU, maximum 12 characters).
idUnique identifier for the order line.
descriptionDescription of the product (maximum 30 characters).
unitOfMeasureRepresents the unit of measure for an item.
unitPriceUnit price (if specified).
noteAny additional notes for this line item.
OrderLineRequest
productCodeProduct code (SKU) for this item (maximum 12 characters).
quantityQuantity being ordered.
idExisting line id (the id returned on the order's items), to update that line in place
on PATCH/PUT. Omit to add a new line. Not allowed on POST.
descriptionDescription of the product (optional, uses product default if not provided, maximum 30 characters).
priceQtyPrice quantity multiplier.
unitOfMeasureRepresents the unit of measure for an item.
unitPriceUnit price (optional). On a new line, leaving it out or sending 0 saves the line at 0.00, not at the catalog price. On a line updated by id, leaving it out keeps the current price.
totalPriceTotal price for this line item.
noteAny additional notes for this item.
OrderMethod
Represents the method by which an order will be fulfilled.
OrderPatchRequest
statusRepresents the current status of an order.
The order's full item list, replaced as a whole (JSON Merge Patch, RFC 7396). Items with an
id update that line in place, items without one are added, and existing lines left out
are removed. Lines are renumbered in list order. Omit to leave the lines untouched.
Request model for a delivery address.
orderMethodRepresents the method by which an order will be fulfilled.
pickupDeliveryTimeScheduled pickup or delivery time.
noteNotes for the order.
routeDelivery route code (maximum 8 characters).
seqStop sequence within the delivery route.
Replacement list of pre-payments. An empty list clears them.
Represents a payment endpoint configuration for external payment systems.
Payment information for an order. Nested within OrderRequest. Supports On-Account or Credit Card (stored card by ID, or temp card).
OrderPaymentRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: cardId | |
| type = object · requires: card |
cardIdExisting stored card id. Used with Method = CreditCard. Mutually exclusive with Card.
methodPayment method for an order.
Temporary credit card details for one-time use on an order.
OrderRequest
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: customerId | |
| type = object · requires: customer |
customerIdExisting customer ID. If provided, the customer object is ignored.
externalOrderIdExternal order identifier (maximum 20 characters).
Request model for creating a new customer.
statusRepresents the current status of an order.
List of items in the order (at least one). On a PUT replace this is the full line list.
Request model for a delivery address.
orderMethodRepresents the method by which an order will be fulfilled.
pickupDeliveryTimeScheduled pickup or delivery time.
orderDateTimeThe Date and time when the order was placed. If not provided (or null), it defaults to the current date and time.
noteAny additional notes for the order.
routeDelivery route code (maximum 8 characters). Optional — defaults to the customer's route.
seqStop sequence within the delivery route. Optional — defaults to the customer's sequence.
List of pre-payments made for this order.
Represents a payment endpoint configuration for external payment systems.
Payment information for an order. Nested within OrderRequest. Supports On-Account or Credit Card (stored card by ID, or temp card).
OrderStatus
Represents the current status of an order.
OrderStatusRequest
Represents the current status of an order.
Payment
paymentMethodSimplified payment types exposed in API responses.
amountPayment amount.
referenceNoReference number for tracking and reconciliation (maximum 15 characters).
dateTimeDate and time of the payment.
maskedCreditCardNumberGets or sets the masked representation of the credit card number, ensuring sensitive information is not exposed (maximum 20 characters).
cardholderNameGets or sets the name of the cardholder associated with the payment (maximum 25 characters).
authorizationCodeGets or sets short code returned by the issuing bank when a credit or debit card transaction is approved (maximum 10 characters).
PaymentEndpoint
urlURL of the payment endpoint. Must be an absolute https URL with a public host name; loopback, link-local, and private addresses are refused.
HTTP headers to be sent with payment requests (for example the consumer's API key).
Names must be valid HTTP header names, values must not contain line breaks, and the
headers the API sets itself (Host, Content-Length, Transfer-Encoding) are refused.
versionWhich webhook contract this endpoint speaks: 1 or 2. Absent means 1,
so orders created before the field existed keep settling as they did.
PaymentMethodType
Payment method type for an order or pre-payment.
PaymentRequest
paymentMethodRepresents the type of payment method used in a transaction.
amountGets or sets the amount of the payment. This should be a positive decimal value representing the total amount paid.
referenceNoGets or sets the reference number associated with the payment. This is typically used for tracking and reconciliation purposes (maximum 15 characters).
dateTimeGets or sets the Date and Time of the payment. This should be a valid DateTime value representing when the payment was made.
maskedCreditCardNumberGets or sets the masked representation of the credit card number, ensuring sensitive information is not exposed (maximum 20 characters).
cardholderNameGets or sets the name of the cardholder associated with the payment (maximum 25 characters).
authorizationCodeGets or sets short code returned by the issuing bank when a credit or debit card transaction is approved (maximum 10 characters).
PaymentTerms
codeTerms code, e.g. "NET30".
discountEarly-payment discount: a percentage of the bill or a fixed amount (see discountType).
discountTypeHow a payment-terms discount is expressed.
discountDaysDays after the invoice date the discount can still be taken. 0 means it never expires.
daysDueDays until payment is due, counted from dueFrom.
dueFromWhat a payment-terms due date is counted from.
PaymentTermsListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
PaymentTypeRequest
Represents the type of payment method used in a transaction.
PaymentTypeResponse
Simplified payment types exposed in API responses.
PrePayment
processorPaymentIdProcessor-assigned payment id. Required — together with
processorReference it is the pre-payment's identity: it rides through onto the
final tender list, which is how a prepaid tender is told apart from a settlement charge, and it
is the key the consumer de-duplicates an applied pre-payment on. Accepts both JSON string and
number tokens from the wire (some processors send it numeric) and exposes it as a string.
processorReferenceProcessor reference (e.g. authorization or transaction ID). Required.
paymentMethodPayment method type for an order or pre-payment.
prepaidAmountWhat was taken at order creation: more than 0, at most 2 decimals. Authoritative: the money already cleared on the integrator's side and is never re-verified here. How much of it covers a given sale is a separate decision made at settlement.
PriceDiscount
daysOfWeekRepresents the days of the week the price discount is applicable
amountThe discount amount
PriceType
Represents the type of price applied to an invoice line item.
ProblemDetails
typetitlestatusdetailinstanceProduct
List of prices for the item.
taxRateTax rate for the item.
activeValue indicating whether the item is active.
List of aliases for the item.
onHandQuantity on hand for the item.
lastModifiedDate and time when the product was last modified.
idUnique identifier for the product.
itemCodeItem code/SKU.
primaryCodePrimary code for the item.
descriptionDescription of the product.
labelDescriptionLabel description of the product.
brandBrand of the item.
manufacturerManufacturer of the item.
byMeasureValue indicating whether the item is sold by weight (LB).
lastSoldDate when the item was last sold.
sizeSize of the item.
caseQtyCase quantity of the item.
taxValue indicating whether the item is taxable.
ebtValue indicating whether the item is eligible for EBT (Electronic Benefits Transfer).
unitUnit of measure for the size.
excludeFromDiscountValue indicating whether the item is excluded from discounts.
categoryNameCategory name of the item.
subCategoryNameSub-category name of the item.
ageRestrictionGets the age restriction for the associated content, if any.
locationThe shelf location of the product.
Represents a price discount applicable on specific days of the week.
wicEligibleIf the product is a WIC eligible item.
List of tag-along items (components) associated with this product. This is populated for composite products that have associated components defined such as combo meals or items with bottle deposits.
tagsSearch tags for the product.
ProductAlias
idUnique identifier for the alias.
productIdProduct identifier this alias belongs to.
codeAlias code.
caseValue indicating whether this alias represents a case quantity.
descriptionDescription of the alias.
ProductListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
SaleRecord
invoiceNumberInvoice number.
dateLine date.
quantityQuantity sold.
unitPriceUnit price.
itemDiscountPer-unit markdown on this line. Not a ticket total.
allocatedSaleDiscountThis line's share of the sale-level discount, per unit. Not the ticket total, not a second line markdown.
SaleRecordListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
SaveCardRequest
cardNumberFull card number (PAN). Will be tokenized — never stored raw.
expMonthExpiration month (1-12).
expYearExpiration year (2-digit, e.g. 26 for 2026).
cvvCard verification value (CVV/CVC).
nameCardholder name.
zipBilling zip code.
houseNumberBilling house number (for AVS verification).
ShipToAddress
addressLine1First line of the address (maximum 30 characters).
cityCity name (maximum 15 characters).
stateTwo-letter state code.
zipCodeFive-digit ZIP code.
addressLine2Second line of the address (optional, maximum 30 characters).
nameName of the recipient (maximum 25 characters).
custidCustomer ID that owns this address.
idUnique identifier of the shipping address.
TagAlong
itemIdThe ID of the parent item thats being tagged along with the main item.
quantityThe quantity of the tag-along item. This represents how many units of the tag-along item are associated with the parent item. For example, if the parent item is a combo meal and the tag-along item is a drink, the quantity would indicate how many drinks are included with the combo meal. or if the parent item has a bottle deposit tag-along item, the quantity would indicate how many bottle deposits are associated with the parent item.
TempCardRequest
cardNumberFull card number (PAN). Will be tokenized — never stored raw.
expMonthExpiration month (1-12).
expYearExpiration year (2-digit, e.g. 26).
cvvCVV/CVC.
nameCardholder name.
zipBilling zip code.
houseNumberBilling house number.
Vendor
codeUnique vendor code.
nameVendor name.
addressLine1First line of the vendor's address.
addressLine2Second line of the vendor's address.
cityCity.
stateState / province.
zipPostal / ZIP code.
phonePrimary phone number (digits only when it is a valid 10-digit number).
extensionPhone extension.
faxFax number (digits only when it is a valid 10-digit number).
contactContact person.
A vendor's payment terms: when a bill is due and the early-payment discount, as set up in the back office.
categoryVendor category.
notesFree-form notes.
lastModifiedLast-modified timestamp. Null when never stamped.
VendorListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
VendorProduct
vendorCodeCode of the vendor.
vendorItemNumberThe vendor's own item number for this product.
productIdProduct identifier.
aliasIdThe alias (alternate code) ID when the vendor sells the product under an alias; null otherwise.
descriptionDescription.
classProduct class.
subclassProduct subclass.
unitPriceThe vendor's price, for a case or a single unit (see pricedPer).
pricedPerWhat a vendor price is for: a case or a single unit.
unitsPerCaseUnits in a case.
innerPackItems in an inner pack.
lastCostThe product's cost per unit the last time it was received from this vendor.
activeWhether the vendor still sells this product.
lastModifiedLast-modified timestamp. Null when never stamped.
VendorProductListResponse
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
ItemImage
itemCodeThe item this link is for, lowercased.
urlSigned link to the item's primary image. Fetch it directly; valid until expiresAt.
contentTypeMIME type of the image, e.g. image/png.
expiresAtWhen the link stops working (7 to 8 days after issue).
ImageUploadForm
fileThe image. JPEG, PNG, WebP, AVIF or GIF; at most 10 MB. Detected from the bytes, not the declared type.
filename^[A-Za-z0-9._-]{1,12…Optional name for the stored file. Defaults to the uploaded file's name.
ImageUploadAccepted
uploadIdstatusitemlocationImageUploadStatus
uploadIdstatusdecidedScopePresent when approved.
reasonPresent when rejected; written by the reviewer.
urlSigned link to the approved image. Present when approved.
expiresAtWhen url stops working. Present when approved.