CoreApiSalesOrder

snowbee.coreapi.CoreApiSalesOrder

idrequired
freightoptional
Show child fields
gross_amountoptional
  • Format: BigDecimal
Example"100.0"
net_amountrequired
  • Format: BigDecimal
Example"100.0"
vat_rateoptional
  • Format: BigDecimal
Example"100.0"
fulfillmentrequired
Show child fields
statusrequired
Allowed values"PENDING""PARTIALLY_FULFILLED""FULFILLED""CANCELLED"
invoicingrequired
Show child fields
statusrequired
Allowed values"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED"
linesrequired
Show item fields
fulfillmentrequired
Show 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_idsrequired
shipment_idsrequired
shipped_quantityrequired
  • Format: BigDecimal
Example"100.0"
idrequired
invoicingrequired
Show child fields
statusrequired
Allowed values"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED"
invoice_idsrequired
invoice_line_idsrequired
invoiced_quantityrequired
  • Format: BigDecimal
Example"100.0"
noteoptional
positionrequired
  • Format: int32
prepaymentoptional
Show 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_saleoptional
campaign_idoptional
campaign_name_at_saleoptional
campaign_net_unit_sales_priceoptional
  • Format: BigDecimal
Example"100.0"
company_idrequired
confirmed_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_idoptional
gross_line_amountoptional
  • Format: BigDecimal
Example"100.0"
line_discount_percentagerequired
  • Format: BigDecimal
Example"100.0"
line_statusrequired
line_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_typeoptional
requested_delivery_dateoptional
  • Format: date
Example"2026-01-14"
resource_idoptional
returned_sales_order_line_idoptional
sales_processrequired
Allowed values"NORMAL""RETURN""CLAIM"
service_order_idoptional
sku_idoptional
supply_sourceoptional
unit_costoptional

Stored 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
referenceoptional
statusrequired
versionrequired
  • Format: int64
campaign_idoptional
click_and_collect_cart_idoptional
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
customer_idrequired
customer_typerequired
Allowed values"B2B""B2C""COMPANY""RETAIL_STORE""ECOM_STORE"
delivery_addressrequired
Show child fields
cityrequired
emailoptional
namerequired
phoneoptional
streetrequired
country_iso_coderequired
post_coderequired
discount_couponsrequired
Show item fields
amountoptional
  • Format: BigDecimal
Example"100.0"
idrequired
titleoptional
can_be_applied_to_service_ordersrequired
discount_coupon_typeoptional
excluded_main_product_group_numbersrequired
external_referencerequired
included_main_product_group_numbersrequired
loyalty_program_idrequired
document_statusrequired
ecom_store_idoptional
exchange_raterequired
  • Format: BigDecimal
Example"100.0"
external_order_idoptional
external_order_numberoptional
fixed_invoice_due_dateoptional
  • Format: date
Example"2026-01-14"
internal_noteoptional
invoice_addressrequired
Show child fields
cityrequired
namerequired
streetrequired
country_iso_coderequired
post_coderequired
invoice_email_addressoptional
is_retail_orderrequired
liable_to_vatrequired
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
note_to_customeroptional
order_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_idrequired
organisational_unit_typerequired
Allowed values"DEPARTMENT""RETAIL_STORE""ECOM_STORE"
sales_order_numberrequired
sales_order_type_idrequired
sold_atoptional
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
sold_by_idrequired
terms_of_delivery_for_tenant_idoptional
terms_of_payment_idrequired
total_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"
}