Sales Orders
sales_order objectFull sales order resource.
idstringSales order ID.
objectstringenumValues:sales_orderResource type identifier.
numberstringHuman-readable order number, e.g. SO-001.
Assigned automatically when the order is created; unique within your account.
customer_purchase_order_numberstringnullableThe customer's own purchase order number, for cross-referencing.
Unique among this customer's orders.
notestringnullableOrder note.
statusstringenumValues:estimateissuedfulfilledOrder lifecycle status.
estimate: a draft quote that has not yet been committed; not counted as a real order.issued: the order has been issued and is being fulfilled.fulfilled: the order has been completed and closed.
Status changes are made through the issue, unissue, close, and reopen action endpoints rather than by updating this field.
prioritystringenumValues:lownormalhighFulfillment priority, used to rank orders on the shop floor.
payment_statusstringenumValues:unpaidpartially_paidpaidPayment state of the order, derived from settlement allocations, invoices, and Stripe payments.
payment_intent_idsarray of stringStripe payment intent IDs recorded against this order.
acknowledgment_statusstringenumValues:not_sentsentWhether an order acknowledgment has been sent to the customer.
Associated customer.
idstringCustomer ID.
objectstringenumValues:customerResource type identifier.
namestringThe customer's business name, as shown throughout the app and on documents.
numberstringHuman-readable customer number used to identify the account, distinct from the id.
statusstringenumValues:normalpreferredhold_shipmentAccount status code, controlling whether the customer can transact.
normal: standard active account with no restrictions.preferred: active account flagged as preferred.hold_shipment: orders can be placed, but shipments are held.hold_all: all activity is on hold.
edi_statusstringenumValues:enableddisabledWhether EDI (Electronic Data Interchange) is enabled for exchanging orders and documents with this customer.
relationship_typestringenumValues:standaloneparentchildThe customer's position in the account hierarchy.
standalone: no parent or child accounts.parent: has one or more child accounts (seechild_accounts).child: belongs to a parent account (seeparent_account).
commission_policystringenumValues:commission_appliedcommission_exemptHow sales commission applies to this customer's orders.
commission_exempt: this customer's orders are exempt from sales commission.commission_applied: sales commission is calculated on this customer's orders.
notestringnullableFree-form note about the customer.
credit_limitquantitynullableMaximum credit extended to this customer.
null in this endpoint.contact_infocustomer_contact_infonullableContact information.
null in this endpoint.freight_preferencescustomer_freight_preferencesnullableFreight and carrier preferences applied to this customer's shipments.
null in this endpoint.defaultscustomer_defaultsnullableDefault settings applied to new orders for this customer.
null in this endpoint.notification_preferencescustomer_notification_preferencesnullableNotification preferences.
null in this endpoint.Default billing address.
null in this endpoint.Default shipping address.
null in this endpoint.The account group of type type_group that categorizes this customer (for example "Distributors").
null in this endpoint.Account groups of type pricing_group that this customer belongs to, used to apply pricing rules.
null in this endpoint.Parent account.
Present if this is a child account.
null in this endpoint.Child accounts.
Present if this is a parent account.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
sales_repactornullableSales representative.
idstringUnique identifier of the actor.
objectstringenumValues:actorResource type identifier.
typestringenumValues:userapi_keyagentActor type.
user: a human user account.api_key: a programmatic caller authenticating with an API key.agent: an automated agent acting on the account's behalf.group: a shared group identity, such as a "Customer Service" persona, rather than a single individual.
namestringnullableThe actor's display name.
handlestringnullableHuman-readable handle identifying the actor.
- For
useractors: the user's email address. - For
api_keyactors: the redacted key value.
Other actor types carry no handle.
avatar_urlstringnullableURL of the actor's profile photo, if one is set.
Only populated for user actors.
Assigned role.
null in this endpoint.created_bycreated_bynullableWho created this order, and their relation (internal/customer/system).
objectstringenumValues:created_byResource type identifier.
relationstringenumValues:internalcustomersystemThe creator's relationship to the account that owns the resource.
internal: created by a user of the owning account.customer: created by a customer of the owning account.system: created automatically with no human actor (e.g. an EDI import).
actoractornullableThe actor who created the resource.
Absent when relation is system, since no human or programmatic actor performed the action.
null in this endpoint.Billing address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Shipping address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
freightfreightnullableCarrier selection and freight billing for this order.
objectstringenumValues:freightResource type identifier.
policystringnullableenumValues:free_freightbilled_freightHow freight is arranged and billed for the record.
Populated where a freight policy applies, such as a customer's default preferences.
free_freight: no shipping cost to the buyer.billed_freight: freight is billed to the buyer.
The shipping carrier selected to fulfill the shipment.
null in this endpoint.The carrier service level selected for the shipment (e.g. ground, overnight).
null in this endpoint.billing_typestringnullableenumValues:senderthird_partyWhich party the carrier bills for the shipment.
sender: the shipper (your account) is billed.third_party: a third party is billed viabilling_account_number.
billing_account_numberstringnullableCarrier account number to bill, used when billing_type is third_party.
Payment term.
idstringPayment term ID.
objectstringenumValues:payment_termResource type identifier.
namestringDisplay name (e.g. Net 30).
statusstringenumValues:activeinactiveLifecycle status of the payment term.
ownerownernullableOwner of this resource, indicating whether it is an Augno-provided system default or was created by your account.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last-updated timestamp.
Shipping term.
idstringShipping term ID.
objectstringenumValues:shipping_termResource type identifier.
namestringHuman-readable name for the shipping term, used to identify it when assigning shipping terms to customers and orders.
typestringenumValues:free_freightflat_rate_freightcarrier_rate_freightFreight pricing model applied by this shipping term.
free_freight: no shipping cost to the buyer.flat_rate_freight: a fixed shipping cost regardless of order details (seeflat_rate).carrier_rate_freight: shipping cost is determined by the carrier's quoted rate.
ownerownernullableProvenance of this shipping term.
System-owned shipping terms are platform-provided defaults shared across all accounts and cannot be updated or deleted; account-owned shipping terms are custom to your account.
null in this endpoint.flat_ratequantitynullableFixed shipping charge applied to the order.
Applied only when type is flat_rate_freight; ignored for other freight pricing models.
null in this endpoint.minimum_order_valuequantitynullableOrder subtotal a buyer must reach before this term's free-shipping rules apply.
null in this endpoint.Service levels that ship for free under this term (typically once minimum_order_value is met).
null in this endpoint.created_atstring (date-time)When this shipping term was created.
updated_atstring (date-time)When this shipping term was last updated.
order_discountorder_discountnullableOrder discount.
idstringOrder discount ID.
objectstringenumValues:order_discountResource type identifier.
namestringDisplay name of the discount.
codestringThe code entered to apply this discount to an order.
Must be unique within the account.
percentagestring (decimal)Percent off as a decimal string (e.g. 10 for 10%).
Applies when discount_type is percentage; otherwise 0.
amountstring (decimal)Fixed amount off as a decimal string.
Applies when discount_type is amount; otherwise 0.
discount_typestringenumValues:percentageamountHow the discount is calculated, determining whether percentage or amount is used.
percentage: the discount is a percent off, taken frompercentage.amount: the discount is a fixed amount off, taken fromamount.
order_countintegerNumber of orders currently using this discount.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Order lines.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of sales_order_lineResources in this page.
idstringSales order line ID.
objectstringenumValues:sales_order_lineResource type identifier.
line_item_numberintegerPosition of the line on the order.
Assigned automatically in sequence, starting at 1.
product_skustringProduct SKU.
product_descriptionstringnullableProduct description.
Associated product.
null in this endpoint.quantity_orderedquantitynullableQuantity ordered.
null in this endpoint.unit_priceratenullablePrice charged per unit.
null in this endpoint.unit_costratenullableInternal cost per unit.
Reflects what the business pays for the item, not what the customer is charged, and is used to derive line profitability.
null in this endpoint.totalssales_order_totalsnullableDerived monetary totals for this line.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
line_countintegerNumber of order lines on this order, returned even when the lines list itself is not expanded.
totalssales_order_totalsnullableDerived monetary totals and per-stage fulfillment progress.
objectstringenumValues:sales_order_totalsResource type identifier.
orderedstring (decimal)Total ordered amount as a decimal string (unit price x quantity ordered). This is the baseline the stage completions are measured against.
pickedsales_order_stage_totalPicked amount and completion.
null in this endpoint.packedsales_order_stage_totalPacked amount and completion.
null in this endpoint.invoicedsales_order_stage_totalInvoiced amount and completion.
null in this endpoint.relatedsales_order_relatednullableRecords related to this order (pick, production run, shipments).
objectstringenumValues:sales_order_relatedResource type identifier.
pickrecordnullableAssociated pick.
idstringUnique identifier for the record.
objectstringenumValues:recordResource type identifier.
typestringenumValues:sales_orderpurchase_orderreceiving_orderThe kind of business record referenced.
Determines how to resolve the record and which status and metadata keys may appear.
sales_order: a customer order.purchase_order: an order placed with a supplier.receiving_order: an inbound order being received into inventory.pick: a warehouse pick task.shipment: an outbound shipment.delivery: a delivery of one or more shipments to a destination.production_run: a manufacturing production run.invoice: a customer invoice.transaction: a payment or financial transaction.settlement: a settlement reconciling transactions against invoices.
numberstringnullableHuman-readable record number, when the record has one.
statusstringnullableType-specific status code, when applicable.
metadataobjectType-specific metadata.
The set of keys varies by record type.
production_runrecordnullableAssociated production run.
idstringUnique identifier for the record.
objectstringenumValues:recordResource type identifier.
typestringenumValues:sales_orderpurchase_orderreceiving_orderThe kind of business record referenced.
Determines how to resolve the record and which status and metadata keys may appear.
sales_order: a customer order.purchase_order: an order placed with a supplier.receiving_order: an inbound order being received into inventory.pick: a warehouse pick task.shipment: an outbound shipment.delivery: a delivery of one or more shipments to a destination.production_run: a manufacturing production run.invoice: a customer invoice.transaction: a payment or financial transaction.settlement: a settlement reconciling transactions against invoices.
numberstringnullableHuman-readable record number, when the record has one.
statusstringnullableType-specific status code, when applicable.
metadataobjectType-specific metadata.
The set of keys varies by record type.
Associated shipments.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of recordResources in this page.
idstringUnique identifier for the record.
objectstringenumValues:recordResource type identifier.
typestringenumValues:sales_orderpurchase_orderreceiving_orderThe kind of business record referenced.
Determines how to resolve the record and which status and metadata keys may appear.
sales_order: a customer order.purchase_order: an order placed with a supplier.receiving_order: an inbound order being received into inventory.pick: a warehouse pick task.shipment: an outbound shipment.delivery: a delivery of one or more shipments to a destination.production_run: a manufacturing production run.invoice: a customer invoice.transaction: a payment or financial transaction.settlement: a settlement reconciling transactions against invoices.
numberstringnullableHuman-readable record number, when the record has one.
statusstringnullableType-specific status code, when applicable.
metadataobjectType-specific metadata.
The set of keys varies by record type.
Associated invoices.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of recordResources in this page.
idstringUnique identifier for the record.
objectstringenumValues:recordResource type identifier.
typestringenumValues:sales_orderpurchase_orderreceiving_orderThe kind of business record referenced.
Determines how to resolve the record and which status and metadata keys may appear.
sales_order: a customer order.purchase_order: an order placed with a supplier.receiving_order: an inbound order being received into inventory.pick: a warehouse pick task.shipment: an outbound shipment.delivery: a delivery of one or more shipments to a destination.production_run: a manufacturing production run.invoice: a customer invoice.transaction: a payment or financial transaction.settlement: a settlement reconciling transactions against invoices.
numberstringnullableHuman-readable record number, when the record has one.
statusstringnullableType-specific status code, when applicable.
metadataobjectType-specific metadata.
The set of keys varies by record type.
contactsorder_contactnullableEmail recipients grouped by notification purpose.
objectstringenumValues:order_contactResource type identifier.
invoicearray of stringEmail addresses that receive invoices for this order.
acknowledgementarray of stringEmail addresses that receive order acknowledgements for this order.
issued_atstring (date-time)nullableWhen the order was issued (moved out of estimate).
completed_atstring (date-time)nullableWhen the order was fulfilled and closed.
first_ship_atstring (date-time)nullableWhen the first shipment against this order went out.
expired_atstring (date-time)nullableWhen this estimate expires, if an expiration was set.
promised_atstring (date-time)nullableDate promised to the customer for delivery, if one was committed.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.