CoreApiSalesOrder
snowbee.coreapi.CoreApiSalesOrder
idrequiredfreightoptionalShow child fields
gross_amountoptional- Format: BigDecimal
Example"100.0"net_amountrequired- Format: BigDecimal
Example"100.0"vat_rateoptional- Format: BigDecimal
Example"100.0"
fulfillmentrequiredShow child fields
statusrequired- Allowed values
"PENDING""PARTIALLY_FULFILLED""FULFILLED""CANCELLED"
invoicingrequiredShow child fields
statusrequired- Allowed values
"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED"
linesrequiredShow item fields
fulfillmentrequiredShow child fields
statusrequired- Allowed values
"PENDING""PARTIALLY_FULFILLED""FULFILLED""CANCELLED" cancelled_quantityrequired- Format: BigDecimal
Example"100.0"fulfilled_quantityrequired- Format: BigDecimal
Example"100.0"pending_quantityrequired- Format: BigDecimal
Example"100.0"picked_quantityrequired- Format: BigDecimal
Example"100.0"picking_in_progress_quantityrequired- Format: BigDecimal
Example"100.0"picking_list_idsrequiredshipment_idsrequiredshipped_quantityrequired- Format: BigDecimal
Example"100.0"
idrequiredinvoicingrequiredShow child fields
statusrequired- Allowed values
"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED" invoice_idsrequiredinvoice_line_idsrequiredinvoiced_quantityrequired- Format: BigDecimal
Example"100.0"
noteoptionalpositionrequired- Format: int32
prepaymentoptionalShow child fields
statusrequired- Allowed values
"PENDING""DELIVERED""CANCELLED" applied_gross_amountrequired- Format: BigDecimal
Example"100.0"collected_gross_amountrequired- Format: BigDecimal
Example"100.0"configured_gross_amountoptional- Format: BigDecimal
Example"100.0"refunded_gross_amountrequired- Format: BigDecimal
Example"100.0"unapplied_gross_amountrequired- Format: BigDecimal
Example"100.0"
versionrequired- Format: int64
basic_net_unit_sales_priceoptional- Format: BigDecimal
Example"100.0"campaign_code_at_saleoptionalcampaign_idoptionalcampaign_name_at_saleoptionalcampaign_net_unit_sales_priceoptional- Format: BigDecimal
Example"100.0"company_idrequiredconfirmed_delivery_dateoptional- Format: date
Example"2026-01-14"created_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"estimated_delivery_dateoptional- Format: date
Example"2026-01-14"gift_card_idoptionalgross_line_amountoptional- Format: BigDecimal
Example"100.0"line_discount_percentagerequired- Format: BigDecimal
Example"100.0"line_statusrequiredline_typerequired- Allowed values
"PRODUCT""RESOURCE""GIFT_CARD""SERVICE_ORDER" modified_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"net_line_amountoptional- Format: BigDecimal
Example"100.0"net_unit_consignment_priceoptional- Format: BigDecimal
Example"100.0"net_unit_order_discount_amountrequired- Format: BigDecimal
Example"100.0"net_unit_sales_priceoptional- Format: BigDecimal
Example"100.0"order_quantityrequired- Format: BigDecimal
Example"100.0"price_source_typeoptionalrequested_delivery_dateoptional- Format: date
Example"2026-01-14"resource_idoptionalreturned_sales_order_line_idoptionalsales_processrequired- Allowed values
"NORMAL""RETURN""CLAIM" service_order_idoptionalsku_idoptionalsupply_sourceoptionalunit_costoptionalStored unit cost in the owning company's currency
- Format: BigDecimal
Example"100.0"vat_amountoptional- Format: BigDecimal
Example"100.0"vat_raterequired- Format: BigDecimal
Example"100.0"warehouse_idrequired
referenceoptionalstatusrequiredversionrequired- Format: int64
campaign_idoptionalclick_and_collect_cart_idoptionalcompany_idrequiredcreated_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"currency_iso_coderequiredcustomer_idrequiredcustomer_typerequired- Allowed values
"B2B""B2C""COMPANY""RETAIL_STORE""ECOM_STORE" delivery_addressrequiredShow child fields
cityrequiredemailoptionalnamerequiredphoneoptionalstreetrequiredcountry_iso_coderequiredpost_coderequired
discount_couponsrequiredShow item fields
amountoptional- Format: BigDecimal
Example"100.0"idrequiredtitleoptionalcan_be_applied_to_service_ordersrequireddiscount_coupon_typeoptionalexcluded_main_product_group_numbersrequiredexternal_referencerequiredincluded_main_product_group_numbersrequiredloyalty_program_idrequired
document_statusrequiredecom_store_idoptionalexchange_raterequired- Format: BigDecimal
Example"100.0"external_order_idoptionalexternal_order_numberoptionalfixed_invoice_due_dateoptional- Format: date
Example"2026-01-14"internal_noteoptionalinvoice_addressrequiredShow child fields
cityrequirednamerequiredstreetrequiredcountry_iso_coderequiredpost_coderequired
invoice_email_addressoptionalis_retail_orderrequiredliable_to_vatrequiredmodified_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"note_to_customeroptionalorder_daterequired- Format: date
Example"2026-01-14"order_discount_amountoptional- Format: BigDecimal
Example"100.0"order_discount_percentageoptional- Format: BigDecimal
Example"100.0"organisational_unit_idrequiredorganisational_unit_typerequired- Allowed values
"DEPARTMENT""RETAIL_STORE""ECOM_STORE" sales_order_numberrequiredsales_order_type_idrequiredsold_atoptional- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"sold_by_idrequiredterms_of_delivery_for_tenant_idoptionalterms_of_payment_idrequiredtotal_gross_amountoptional- Format: BigDecimal
Example"100.0"total_net_amountoptional- Format: BigDecimal
Example"100.0"total_vat_amountoptional- Format: BigDecimal
Example"100.0"warehouse_idrequired
View raw schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "String"
},
"freight": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderFreight"
}
]
},
"fulfillment": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderFulfillment"
},
"invoicing": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderInvoicing"
},
"lines": {
"type": "array",
"items": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderLine"
},
"title": "List<CoreApiSalesOrderLine>"
},
"reference": {
"type": [
"null",
"string"
],
"title": "String"
},
"status": {
"type": "string",
"title": "String"
},
"version": {
"type": "integer",
"format": "int64",
"title": "Long"
},
"campaign_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"click_and_collect_cart_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"company_id": {
"type": "string",
"title": "String"
},
"created_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"currency_iso_code": {
"type": "string",
"title": "String"
},
"customer_id": {
"type": "string",
"title": "String"
},
"customer_type": {
"$ref": "#/components/schemas/snowbee.entities.utils.CustomerType"
},
"delivery_address": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderAddress"
},
"discount_coupons": {
"type": "array",
"items": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiSalesOrderDiscountCoupon"
},
"title": "List<CoreApiSalesOrderDiscountCoupon>"
},
"document_status": {
"type": "string",
"title": "String"
},
"ecom_store_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"exchange_rate": {
"type": "string",
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"external_order_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"external_order_number": {
"type": [
"null",
"string"
],
"title": "String"
},
"fixed_invoice_due_date": {
"type": [
"null",
"string"
],
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"internal_note": {
"type": [
"null",
"string"
],
"title": "String"
},
"invoice_address": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiInvoiceAddress"
},
"invoice_email_address": {
"type": [
"null",
"string"
],
"title": "String"
},
"is_retail_order": {
"type": "boolean",
"title": "Boolean"
},
"liable_to_vat": {
"type": "boolean",
"title": "Boolean"
},
"modified_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"note_to_customer": {
"type": [
"null",
"string"
],
"title": "String"
},
"order_date": {
"type": "string",
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"order_discount_amount": {
"type": [
"null",
"string"
],
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"order_discount_percentage": {
"type": [
"null",
"string"
],
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"organisational_unit_id": {
"type": "string",
"title": "String"
},
"organisational_unit_type": {
"$ref": "#/components/schemas/snowbee.entities.utils.OrganisationalUnitType"
},
"sales_order_number": {
"type": "string",
"title": "String"
},
"sales_order_type_id": {
"type": "string",
"title": "String"
},
"sold_at": {
"type": [
"null",
"string"
],
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"sold_by_id": {
"type": "string",
"title": "String"
},
"terms_of_delivery_for_tenant_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"terms_of_payment_id": {
"type": "string",
"title": "String"
},
"total_gross_amount": {
"type": [
"null",
"string"
],
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"total_net_amount": {
"type": [
"null",
"string"
],
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"total_vat_amount": {
"type": [
"null",
"string"
],
"format": "BigDecimal",
"example": "100.0",
"title": "BigDecimalAsString"
},
"warehouse_id": {
"type": "string",
"title": "String"
}
},
"required": [
"fulfillment",
"id",
"invoicing",
"lines",
"status",
"version",
"company_id",
"created_at",
"currency_iso_code",
"customer_id",
"customer_type",
"delivery_address",
"discount_coupons",
"document_status",
"exchange_rate",
"invoice_address",
"is_retail_order",
"liable_to_vat",
"modified_at",
"order_date",
"organisational_unit_id",
"organisational_unit_type",
"sales_order_number",
"sales_order_type_id",
"sold_by_id",
"terms_of_payment_id",
"warehouse_id"
],
"title": "CoreApiSalesOrder"
}