Miridia
Portal
Integrations

Order integration

This controller handles order-related integration endpoints.

Base URL: https://api.miridia.io. Read Authentication and Conventions before you call these operations.

MethodPathOperation
GET/api/v1/integration/orders/{integrationId}Get order
PUT/api/v1/integration/orders/{integrationId}Update order
POST/api/v1/integration/ordersCreate order

Get order

GET/api/v1/integration/orders/{integrationId}

Access. Send a bearer token or an API key. The caller needs the Orders view permission.

Parameters

NameInTypeRequiredDescription
integrationIdpathstringYes
configuredProviderIdquerystring (uuid)No

Response

200. Returns a SingleResult envelope. The data field is IntegrationOrderApiResponse.

Request
curl -X GET "https://api.miridia.io/api/v1/integration/orders/{integrationId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID"

Update order

PUT/api/v1/integration/orders/{integrationId}

Access. Send a bearer token or an API key. The caller needs the Orders modify permission.

Parameters

NameInTypeRequiredDescription
integrationIdpathstringYes

Request body

Send JSON with the shape IntegrationUpdateOrderCommand. Responsible for handling incoming order update requests from external integrations.

FieldTypeRequiredDescription
orderUpdateOrderRequestNo
integrationContextIntegrationContextRequestYes

Response

200. Returns a SingleResult envelope. The data field is IntegrationOrderApiResponse.

Request
curl -X PUT "https://api.miridia.io/api/v1/integration/orders/{integrationId}" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "order": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "description": "string",
    "currencyCode": "Eur",
    "countryCode": "Global",
    "status": "New",
    "fulfillmentType": "Package",
    "fulfillmentSubType": "GeneralPackage",
    "dateOfScheduledCollection": "2026-09-29T08:00:00Z",
    "paymentProcessed": true,
    "paymentUrl": "string",
    "paymentMethod": "Cash"
  },
  "integrationContext": {
    "configuredProviderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "id": "string",
    "idType": "Long",
    "content": "string",
    "metadata": {
      "key": "string"
    },
    "reportedQuantity": 0,
    "dateCreated": "2026-09-29T08:00:00Z"
  }
}'

Create order

POST/api/v1/integration/orders

Access. Send a bearer token or an API key. The caller needs the Orders modify permission.

Request body

Send JSON with the shape CreateOrderIntegrationCommand. Incoming order creation request from an external integration. Composes a CreateOrderRequest with the integration-specific customer, order items, and context. External callers should leave those two properties empty.

FieldTypeRequiredDescription
orderCreateOrderRequestYes
customerCreateCustomerIntegrationCommandYes
orderItemsIntegrationOrderItemRequest[]Yes
contextIntegrationContextRequestYes

Response

200. Returns a SingleResult envelope. The data field is OrderResponse.

Request
curl -X POST "https://api.miridia.io/api/v1/integration/orders" \
  -H "Authorization: Bearer $MIRIDIA_TOKEN" \
  -H "X-Business-Id: $MIRIDIA_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "order": {
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "locationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "salesChannelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "description": "string",
    "purchaseOrderNumber": "string",
    "currencyCode": "Eur",
    "countryCode": "Global",
    "weightType": "Kilogram",
    "paymentProcessed": true,
    "paymentMethod": "Cash",
    "fulfillmentType": "Package",
    "fulfillmentSubType": "GeneralPackage",
    "serviceLevel": "Standard",
    "dateOfScheduledCollection": "2026-09-29T08:00:00Z",
    "items": [
      {}
    ],
    "destinationAddress": {
      "placeId": "string",
      "name": "string",
      "website": "https://example.com",
      "fullAddress": "string",
      "street": "string",
      "suburb": "string",
      "city": "string",
      "country": "string",
      "postcode": "string",
      "unit": "string",
      "number": "string",
      "province": "string",
      "latitude": 0,
      "longitude": 0
    },
    "billing": {
      "subTotal": 0,
      "totalPrice": 0,
      "totalTax": 0,
      "totalDiscount": 0,
      "discount": 0,
      "discountType": "Percentage",
      "taxIncluded": true,
      "taxType": "Sales",
      "taxRate": 0
    },
    "metadata": {
      "key": "string"
    },
    "effectiveDate": "2026-09-29T08:00:00Z"
  },
  "customer": {
    "customer": {
      "contacts": [
        {}
      ],
      "phoneNumber": "string",
      "email": "name@example.com",
      "website": "https://example.com",
      "isBusiness": true,
      "businessName": "string",
      "title": "string",
      "groupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "shippingAddress": {},
      "billingAddress": {},
      "additionalAddresses": [
        {}
      ],
      "dateCreated": "2026-09-29T08:00:00Z",
      "metadata": {
        "key": "string"
      }
    },
    "context": {
      "configuredProviderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "id": "string",
      "idType": "Long",
      "content": "string",
      "metadata": {
        "key": "string"
      },
      "reportedQuantity": 0,
      "dateCreated": "2026-09-29T08:00:00Z"
    }
  },
  "orderItems": [
    {
      "title": "string",
      "description": "string",
      "quantity": 0,
      "taxIncluded": true,
      "subTotal": 0,
      "totalPrice": 0,
      "totalTax": 0,
      "totalDiscount": 0,
      "discount": 0,
      "weight": 0,
      "weightType": "Kilogram",
      "height": 0,
      "width": 0,
      "length": 0,
      "discountType": "Percentage",
      "productIntegrationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }
  ],
  "context": {
    "configuredProviderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "id": "string",
    "idType": "Long",
    "content": "string",
    "metadata": {
      "key": "string"
    },
    "reportedQuantity": 0,
    "dateCreated": "2026-09-29T08:00:00Z"
  }
}'

Models

The operations on this page use these object types. Select a type to see its fields.

ActionMessage

Action messages surface to the API and provide more detailed user feedback for handled exceptions or errors.

FieldTypeDescription
titlestring
messagestring
levelenum NotificationLevelOne of: Standard, Info, Warning, Error, Success, Recommendation.
iconenum MdiIconOne of: None, SyncAlert, Autorenew, Check, CheckMarkedCircle, AlertCircle, TruckDeliveryOutline, TruckFastOutline, PackageCheck, Warehouse, SwapHorizontal, AccountCheck, AccountRemove, AccountCancel, Delete.
codestringThe Notification code / Suggestion code for this suggestion
AddressResponse
FieldTypeDescription
idstring (uuid)
placeIdstring
namestring
websitestring
fullAddressstring
streetstring
suburbstring
citystring
countrystring
postcodestring
unitstring
numberstring
provincestring
latitudenumber (double)
longitudenumber (double)
ContactResponse
FieldTypeDescription
idstring (uuid)
titlestring
descriptionstring
firstNamestring
lastNamestring
emailstring
phoneNumberstring
mobileNumberstring
CreateAddressRequest
FieldTypeDescription
placeIdstring (string)Limits: maximum 100 characters.
namestring (string)Limits: maximum 50 characters.
websitestring (uri)Limits: maximum 100 characters.
fullAddressstringLimits: maximum 500 characters.
streetstring (string)Limits: maximum 80 characters.
suburbstring (string)Limits: maximum 80 characters.
citystringLimits: maximum 80 characters.
countrystringLimits: maximum 80 characters.
postcodestring (postal-code)Limits: maximum 15 characters.
unitstringLimits: maximum 10 characters.
numberstring (postal-code)Limits: maximum 20 characters.
provincestring (string)Limits: maximum 80 characters.
latitudenumber (double)Limits: minimum -90, maximum 90.
longitudenumber (double)Limits: minimum -180, maximum 180.
CreateContactCommand
FieldTypeDescription
idstring (uuid)
customerIdstring (uuid)
titlestringLimits: maximum 50 characters.
descriptionstringLimits: maximum 1000 characters.
firstNamestringLimits: maximum 50 characters.
lastNamestringLimits: maximum 50 characters.
emailstring (email)
phoneNumberstring (tel)
mobileNumberstring (tel)
CreateCustomerIntegrationCommand

The incoming request to create a customer from an external integration. Composes a CreateCustomerRequest with the integration context so the underlying customer payload is defined exactly once.

FieldTypeDescription
customerCreateCustomerRequest
contextIntegrationContextRequest
CreateCustomerRequest
FieldTypeDescription
contactsCreateContactCommand[]
phoneNumberstring (tel)Limits: maximum 20 characters.
emailstring (email)Limits: maximum 50 characters.
websitestring (uri)Limits: maximum 100 characters.
isBusinessboolean
businessNamestringLimits: maximum 100 characters.
titlestringLimits: maximum 100 characters.
groupIdstring (uuid)The customer group this customer belongs to, if any. Used as a price-list assignment scope.
shippingAddressCreateAddressRequest
billingAddressCreateAddressRequest
additionalAddressesCreateAddressRequest[]
dateCreatedstring (date-time)When the customer was created. Optional; defaults to now. Lets seeded/synthetic data show customer acquisition over time rather than all on seed day.
metadatamap<string, string>
CreateOrderItemRequest

Its billing fields are deliberately nullable (see below), which that non-nullable-decimal interface can't express.

FieldTypeDescription
productIdstring (uuid)
quantitynumber (double)Used when a product is assigned to a order
dimensionPresetIdstring (uuid)
titlestring
descriptionstring
primaryImageUrlstring
weightnumber (double)
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
widthnumber (double)
lengthnumber (double)
heightnumber (double)
subTotalnumber (double)Null (or zero, matching the old non-nullable default) means "resolve this from price lists / price history". A non-zero value is a LINE TOTAL and is used unchanged. See IOrderLinePricingService.
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
CreateOrderRequest
FieldTypeDescription
customerIdstring (uuid)
locationIdstring (uuid)The location/store this order originates at (its address becomes the order origin).
salesChannelIdstring (uuid)The sales channel (medium) this order comes through. Optional: when omitted, a manual order falls back to the business's default ("Direct") channel, and an integration-ingested order resolves the channel backed by its configured provider.
descriptionstring
purchaseOrderNumberstringThe customer's purchase order number, when this order is created from a received customer PO.
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
paymentProcessedboolean
paymentMethodenum PaymentMethodOne of: Unknown, Cash, Card, CashOnDelivery, CardOnDelivery, Eft, Crypto, Paypal, WireTransfer, DebitOrder.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
fulfillmentSubTypeenum FulfillmentSubTypeOne of: Unknown, GeneralPackage, FoodDelivery, MedicalDelivery, GroceriesDelivery, StandardPallet, StandardInternationalPallet, StandardUsPallet, StandardEuroPallet, CustomPallet, General10Ft, General20Ft, HighCube20Ft, General40Ft, HighCube40Ft, General45Ft, HighCube45Ft, FlatRack20FtWithSides, FlatRack20FtWithoutSides, FlatRack40FtWithSides, FlatRack40FtWithoutSides, OpenTop20Ft, OpenTop40Ft, Reefer20Ft, Reefer40Ft, MiniVan, DryVan, Flatbed, Tanker, AutoHauler, BoxTruck, Trailer, LowBoy, Dumper, Pickup, TowTruck, DumpTruck.
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
dateOfScheduledCollectionstring (date-time)
itemsCreateOrderItemRequest[]
destinationAddressCreateAddressRequest
billingOrderBillingRequest
metadatamap<string, string>
effectiveDatestring (date-time)When the order actually occurred. Optional; defaults to now.
CurrencyResponse
FieldTypeDescription
iso4217string
utf8Symbolstring
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
CustomerIntegrationProviderResponse
FieldTypeDescription
providerPrimitiveIntegrationProviderResponse
customerCustomerResponse
CustomerResponse
FieldTypeDescription
idstring (uuid)
isBusinessboolean
titlestring
websitestring
emailstring
businessNamestring
groupIdstring (uuid)The customer group this customer belongs to, if any. Used as a price-list assignment scope.
phoneNumberstringThis would generally represent the phone number for the customer if the customer is a business. Otherwise, the contact details should be part of the contact, and not the customer. Limits: maximum 20 characters.
integrationTypeenum IntegrationProviderTypeOne of: None, Commerce, Accounting, Erp, Crm, Fulfillment, Warehouse, WorkflowManager.
dateCreatedstring (date-time)
billingAddressAddressResponse
shippingAddressAddressResponse
integrationsCustomerIntegrationProviderResponse[]
contactsContactResponse[]
primaryContactContactResponse
parentCustomerResponse
attachmentsMetadataFileAttachment[]
totalSalesinteger (int32)
totalSpentnumber (double)
metadatamap<string, string>
DimensionPresetResponse
FieldTypeDescription
idstring (uuid)
vendorstringLimits: maximum 100 characters.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
titlestringLimits: maximum 200 characters.
weightnumber (double)The weight property acts as a limit for this specific box size.
lengthnumber (double)
widthnumber (double)
heightnumber (double)
defaultOptionbooleanevery business can have one package size preset set as the default option
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
dimensionTypeGeometryFieldSymbol
DimensionTypeWithSymbols
FieldTypeDescription
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
volumeTypeenum VolumeTypeOne of: None, Litre, CubicCentimeter, CubicMeter, Gallon, CubicInch, CubicFoot.
lengthSymbolstring
weightSymbolstring
volumeSymbolstring
Geometry

Physical shipping geometry: the bounding measurements of an item plus the units they are expressed in. The single canonical shape for dimensions across the domain. Products, variants, shipments, order/shipment line items, and dimension presets all hold one of these instead of duplicating the Weight/Width/Length/Height quartet.

FieldTypeDescription
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
GeometryFieldsResponse
FieldTypeDescription
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
weightSymbolstring
lengthSymbolstring
IntegrationContextRequest
FieldTypeDescription
configuredProviderIdstring (uuid)
idstring
idTypeenum UidTypeOne of: Unknown, Long, Guid, String.
contentstringCan be used to store the raw data received from the external system. Maps to SerializedData...
metadatamap<string, string>Additional metadata related to the integration object.
reportedQuantityinteger (int32)The available-to-sell quantity the provider reports for this product. Null when the provider does not report a quantity.
dateCreatedstring (date-time)
IntegrationContextResponse
FieldTypeDescription
configuredProviderIdstring (uuid)
idstring
idTypeenum UidTypeOne of: Unknown, Long, Guid, String.
contentstring
metadatamap<string, string>
IntegrationCustomerResponse

The outgoing customer response from Miridia to an external integration.

FieldTypeDescription
integrationIdUid
integrationIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
customerCustomerResponse
metadatamap<string, string>
integrationContextIntegrationContextResponse
IntegrationOrderApiResponse

The response sent from Miridia to the integration when creating or updating an order on the integration.

FieldTypeDescription
idstring
customerIdstring
integrationIdUid
integrationIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
integrationCustomerIdUid
orderOrderResponse
customerIntegrationCustomerResponse
orderItemsIntegrationOrderItemResponse[]
integrationControlsOrderIntegrationControls
integrationContextIntegrationContextResponse
metadatamap<string, string>
warningsActionMessage[]
IntegrationOrderItemRequest
FieldTypeDescription
titlestring
descriptionstring
quantitynumber (double)
taxIncludedboolean
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
weightnumber (double)
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
heightnumber (double)
widthnumber (double)
lengthnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
productIntegrationIdstring (uuid)The integration must create the product first, then reference it here. When null the line item persists with no linked product.
IntegrationOrderItemResponse
FieldTypeDescription
integrationIdUid
integrationIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
productIntegrationIdUid
productIntegrationVariantIdUid
orderItemOrderItemResponse
productIntegrationProductResponse
integrationContextIntegrationContextResponse
IntegrationProductResponse
FieldTypeDescription
integrationIdUid
integrationIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
integrationOriginDateCreatedstring (date-time)The date the product was originally created.
productProductResponse
integrationContextIntegrationContextResponse
metadatamap<string, string>
MetadataFileAttachment

Not quite as complete as the normal FileAttachment aggregate.

FieldTypeDescription
idstring (uuid)
typeenum MetadataAttachmentTypeOne of: File, Link.
fileAttachmentIdstring (uuid)Left as Guid.Empty for Link entries.
titlestring
urlstring
contentTypestring
descriptionstring
OrderBillingRequest
FieldTypeDescription
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
taxTypeenum TaxTypeOne of: None, Sales, Vat, Gst, Pst, Hst, Qst, Ist, Ust, Cst.
taxRatenumber (double)
OrderCarrierMetadata
FieldTypeDescription
carrierIdstring (uuid)
earliestCollectionstring (date-time)
collectionRequestedstring (date-time)
collectionAfterRequeststring (date-time)
dateDeliveredstring (date-time)
dateOfReturnRequestedstring (date-time)
timeframestring
requestedCollectionboolean
shipmentLabelGeneratedboolean
requestedReturnboolean
packageCountinteger (int32)
packagesOrderPackageMetadata[]
OrderIntegrationControls
FieldTypeDescription
hasResolvedWeightTypeboolean
hasResolvedLengthTypeboolean
hasResolvedCurrencyboolean
hasResolvedCountryboolean
hasResolvedProductboolean
hasResolvedCustomerboolean
OrderIntegrationDetailsResponse
FieldTypeDescription
idstring (uuid)
integrationIdstringThe integration id as displayed on the relevant integration
providerPrimitiveIntegrationProviderResponse
OrderItemResponse

Order Item maps onto ProductOrder and contains a property with all of the product information.

FieldTypeDescription
idstring (uuid)
codestring
quantityOrderednumber (double)
unitenum UnitOfMeasureOne of: Each, Kilogram, Gram, Litre, Millilitre, Metre, Centimetre, SquareMetre, CubicMetre, Pair, Pack, Box, Roll, Sheet.
orderShipmentOrderShipmentResponse
productProductResponse
shipmentShipmentResponse
carrierPrimitiveIntegrationProviderResponse
dimensionPresetPrimitiveDimensionPreset
titlestring
descriptionstring
primaryImageUrlstring
geometryGeometryFieldsResponse
billingPriceDetailsResponse
OrderPackageMetadata
FieldTypeDescription
productIdstring (uuid)
dimensionsGeometry
OrderResponse
FieldTypeDescription
dateCreatedstring (date-time)
dateModifiedstring (date-time)
idstring (uuid)
codestring
deliveryItemCountinteger (int32)
orderItemCountnumber (double)Total quantity of items ordered across all line items. Surfaced for list views.
descriptionstring
purchaseOrderNumberstringThe customer's purchase order number, when this order was raised from a received customer PO.
billingPriceDetailsResponse
shippingCostsOrderShippingCostsResponse
fulfillmentStatusenum FulfillmentStatusOne of: Unknown, Unassigned, PendingCollection, PendingDelivery, Fulfilled, Cancelled.
customerIpAddressstring
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
statusenum OrderStatusOne of: Unknown, New, PendingCollection, PendingDelivery, Complete, Cancelled, PendingReturn, Returned.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
fulfillmentSubTypeenum FulfillmentSubTypeOne of: Unknown, GeneralPackage, FoodDelivery, MedicalDelivery, GroceriesDelivery, StandardPallet, StandardInternationalPallet, StandardUsPallet, StandardEuroPallet, CustomPallet, General10Ft, General20Ft, HighCube20Ft, General40Ft, HighCube40Ft, General45Ft, HighCube45Ft, FlatRack20FtWithSides, FlatRack20FtWithoutSides, FlatRack40FtWithSides, FlatRack40FtWithoutSides, OpenTop20Ft, OpenTop40Ft, Reefer20Ft, Reefer40Ft, MiniVan, DryVan, Flatbed, Tanker, AutoHauler, BoxTruck, Trailer, LowBoy, Dumper, Pickup, TowTruck, DumpTruck.
dateOfScheduledCollectionstring (date-time)
dateCreatedOnIntegrationstring (date-time)
effectiveDatestring (date-time)
dateOfDeliveryCompletionstring (date-time)
dateImportedstring (date-time)
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
paymentProcessedboolean
paymentUrlstring
integrationOrderUrlstring
multiCarrierboolean
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
paymentMethodenum PaymentMethodOne of: Unknown, Cash, Card, CashOnDelivery, CardOnDelivery, Eft, Crypto, Paypal, WireTransfer, DebitOrder.
attachmentsMetadataFileAttachment[]
orderItemsOrderItemResponse[]
orderShipmentsOrderShipmentResponse[]
destinationAddressAddressResponse
originAddressAddressResponse
originLocationIdstring (uuid)The location/store the order is attributed to (trace which store it came from).
originLocationTitlestring
sourceChannelIdstring (uuid)The sales channel (medium) the order came through.
sourceChannelTitlestring
sourceChannelSalesChannelResponse
customerCustomerResponse
carrierMetadataOrderCarrierMetadata
dimensionTypeDimensionTypeWithSymbols
currencyMetadataCurrencyResponse
fulfillmentProvidersPrimitiveIntegrationProviderResponse[]
packageSizesPrimitiveDimensionPreset[]
integrationsOrderIntegrationDetailsResponse[]
metadatamap<string, string>
OrderShipmentResponse
FieldTypeDescription
shipmentQuotationShipmentQuotationResponse
orderOrderResponse
shipmentShipmentResponse
fulfillmentProviderPrimitiveIntegrationProviderResponse
canModifyItemsbooleanWhether the item set of this shipment can still be changed, through PUT /orders/{orderId}/shipments/{shipmentId}/items. False once the shipment leaves the Active status, or once a label, an invoice, a fulfillment request, an approved quotation, or a manual lock names the load it carries.
OrderShippingCostsResponse
FieldTypeDescription
shippingSubTotalnumber (double)
shippingDiscountnumber (double)
shippingTaxnumber (double)
shippingTotalnumber (double)
PriceDetailsResponse
FieldTypeDescription
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
taxRatenumber (double)
taxTypeenum TaxTypeOne of: None, Sales, Vat, Gst, Pst, Hst, Qst, Ist, Ust, Cst.
currencyCurrencyResponse
PrimitiveDimensionPreset
FieldTypeDescription
titlestring
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
idstring (uuid)
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
PrimitiveIntegrationProviderResponse
FieldTypeDescription
configuredProviderIdstring (uuid)
idinteger (int32)
titlestring
descriptionstring
logoUrlstring
ProductCategoryPrimitive
FieldTypeDescription
categorystring
ProductGeometryFieldsResponse
FieldTypeDescription
weightnumber (double)
widthnumber (double)
lengthnumber (double)
heightnumber (double)
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
weightSymbolstring
lengthSymbolstring
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
titlestring
geometrySymbolGeometryFieldSymbol
ProductGroupSummaryResponse

Catalog-card summary of a product group (variant family): the umbrella name and how many products it contains. See group.

FieldTypeDescription
idstring (uuid)
namestring
variantCountinteger (int32)
ProductIntegrationProviderResponse
FieldTypeDescription
providerPrimitiveIntegrationProviderResponse
idstring (uuid)Represents the product integration id.
integrationIdstringThe composite integration id in it's original form represented as a string. Refer to ProductService::GetProductResponse()
productProductResponse
ProductPriceDetailsResponse
FieldTypeDescription
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
taxRatenumber (double)
taxTypeenum TaxTypeOne of: None, Sales, Vat, Gst, Pst, Hst, Qst, Ist, Ust, Cst.
currencyCurrencyResponse
idstring (uuid)
purchasableboolean
priceTypeenum PriceTypeOne of: Selling, Purchase, Cost.
sourceenum PriceSourceOne of: Manual, SupplierUpdate, Import, Sync, Migration.
notesstring
effectiveDatestring (date-time)
currencyMetadataCurrencyResponse
priceUnitenum UnitOfMeasureOne of: Each, Kilogram, Gram, Litre, Millilitre, Metre, Centimetre, SquareMetre, CubicMetre, Pair, Pack, Box, Roll, Sheet.
pricePackQuantitynumber (double)
pricePerUnitnumber (double)
basisenum PriceResolutionBasisOne of: FixedItem, PeggedItem, ListRule.
adjustmentTypeenum PriceAdjustmentTypeOne of: Percentage, Amount.
adjustmentValuenumber (double)
ProductResponse
FieldTypeDescription
idstring (uuid)
codestring
skustring
barcodestring
upcstring
eanstring
mpnstring
titlestring
descriptionstring
bodystring
productLinkstring
productTypeenum ProductTypeOne of: FinishedGood, RawMaterial, Component, Consumable, Service.
statusenum ProductStatusOne of: Active, Inactive, Discontinued.
unitenum UnitOfMeasureOne of: Each, Kilogram, Gram, Litre, Millilitre, Metre, Centimetre, SquareMetre, CubicMetre, Pair, Pack, Box, Roll, Sheet.
purchasableboolean
isSellableboolean
isPurchasableboolean
isTaxableboolean
requiresShippingboolean
totalAvailableQuantitynumber (double)Available stock derived from the inventory ledger: the sum of (on-hand − reserved) across the product's inventory records at all locations.
totalSoldnumber (double)
totalSoldValuenumber (double)
onSaleboolean
currentPriceProductPriceDetailsResponse
tracesActionMessage[]Get the historical view of changes for this object
defaultImageMetadataFileAttachment
imagesMetadataFileAttachment[]
attachmentsMetadataFileAttachment[]
geometryProductGeometryFieldsResponse
integrationsProductIntegrationProviderResponse[]
localeSymbolicLocaleMetadata
dimensionPresetDimensionPresetResponse
dimensionPresetsDimensionPresetResponse[]
categoriesProductCategoryPrimitive[]
supplierSupplierResponse
groupProductGroupSummaryResponse
tagsstring[]
hasRatingboolean
ratingnumber (double)
metadatamap<string, string>
dateCreatedstring (date-time)
SalesChannelResponse
FieldTypeDescription
idstring (uuid)
titlestring
kindenum SalesChannelKindOne of: Direct, PointOfSale, Online, Marketplace.
defaultLocationIdstring (uuid)
ShipmentQuotationResponse
FieldTypeDescription
idstring (uuid)
providerPrimitiveIntegrationProviderResponse
itemsFulfillmentItemResponse[]
requiredServicesFulfillmentProviderServiceTypeModel[]
requirementsFulfillmentRequirementTypeModel[]
collectionCollectionResponse
deliveryDeliveryResponse
totalDeclaredValuenumber (double)
isInternationalboolean
isApprovedByUserboolean
totalItemsinteger (int32)
serviceLevelTextstring
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
deliveryTypeenum FulfillmentDeliveryTypeOne of: Unknown, DoorToDoor, DoorToCollectionPoint, CollectionPointToDoor, CollectionPointToCollectionPoint, DoorToPort, PortToDoor, PortToPort, LockerToLocker.
weightTypeenum WeightTypeOne of: Unknown, Kilogram, Tonne, Pound, Stone, UsTon, ImperialTon, Gram.
lengthTypeenum LengthTypeOne of: Unknown, Centimeter, Meter, Inch, Foot.
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
dateOfEstimatedCollectionstring (date-time)The estimated collection and delivery dates, when they are known. They are null when no estimate exists. Do not substitute today's date.
dateOfEstimatedDeliverystring (date-time)
currencyCurrencyResponse
subTotalnumber (double)
totalPricenumber (double)
totalTaxnumber (double)
totalDiscountnumber (double)
discountnumber (double)
discountTypeenum DiscountTypeOne of: None, Percentage, FixedValue.
taxIncludedboolean
shipmentShipmentResponse
ShipmentResponse
FieldTypeDescription
dateCreatedstring (date-time)
dateModifiedstring (date-time)
idstring (uuid)
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
statusenum ShipmentStatusOne of: Unknown, Active, PendingCollection, CollectionUnassigned, CollectionAssigned, CollectionRejected, CollectionException, CollectionFailedAttempt, Collected, AtHub, ReturnedToHub, InTransit, AtDestinationHub, DeliveryUnassigned, DeliveryAssigned, DeliveryRejected, DeliveryException, OutForDelivery, DeliveryFailedAttempt, InLocker, Delivered, Cancelled.
hasDimensionsboolean
dateOfDeparturestring (date-time)
titlestringLimits: maximum 100 characters.
providerServiceLevelIdUid
providerServiceLevelIdTypeenum UidTypeOne of: Unknown, Long, Guid, String.
serviceLevelenum ServiceLevelOne of: Unknown, Standard, Express, SameDay, Overnight, TwoDay, InternationalStandard, InternationalExpress, OnDemand, Freight.
codestring
descriptionstringLimits: maximum 3000 characters.
handlingTypeenum HandlingTypeOne of: Unknown, Delivery, Collection, Unassigned.
requiresApprovalboolean
totalDeclaredValuenumber (double)
quantityOfItemsnumber (double)
trackingIdstring
barcodestring
deliveryDeliveryResponse
collectionCollectionResponse
currencyCurrencyResponse
dispatchDispatchResponse
businessBusinessResponse
customerCustomerResponse
itemsShipmentItemResponse[]
fulfillmentContactsContactResponse[]
orderShipmentsOrderShipmentResponse[]
waypointsShipmentWaypointResponse[]
metadatamap<string, string>
attachmentsMetadataFileAttachment[]
SupplierResponse
FieldTypeDescription
idstring (uuid)
titlestring
descriptionstring
contactContactResponse
addressIdstring (uuid)Reference to the supplier's origin address (business_addresses), if set.
addressAddressResponse
paymentTermsstringFree-text payment terms (e.g. "Net 30"). Display-only.
defaultLeadTimeDaysinteger (int32)Fallback lead time in days for suppliers with no purchase-order history yet.
codestringOptional free-text internal reference code for the supplier (e.g. "SUP-001"). Display-only.
defaultCurrencyenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
SymbolicLocaleMetadata
FieldTypeDescription
currencystring
countrystring
weightstring
lengthstring
businessDefaultTypesGeometryAndCountryMetadata
UpdateOrderRequest
FieldTypeDescription
idstring (uuid)
descriptionstring
currencyCodeenum CurrencyCodeOne of: Invalid, Eur, Usd, Gbp, Zar, Zmw.
countryCodeenum CountryCodeOne of: Invalid, Global, FallbackZa, Be, De, Lu, Nl, Za, Zw, Gb, Us, Zm.
statusenum OrderStatusOne of: Unknown, New, PendingCollection, PendingDelivery, Complete, Cancelled, PendingReturn, Returned.
fulfillmentTypeenum FulfillmentTypeOne of: Unknown, Package, Pallet, Container, Miscellaneous.
fulfillmentSubTypeenum FulfillmentSubTypeOne of: Unknown, GeneralPackage, FoodDelivery, MedicalDelivery, GroceriesDelivery, StandardPallet, StandardInternationalPallet, StandardUsPallet, StandardEuroPallet, CustomPallet, General10Ft, General20Ft, HighCube20Ft, General40Ft, HighCube40Ft, General45Ft, HighCube45Ft, FlatRack20FtWithSides, FlatRack20FtWithoutSides, FlatRack40FtWithSides, FlatRack40FtWithoutSides, OpenTop20Ft, OpenTop40Ft, Reefer20Ft, Reefer40Ft, MiniVan, DryVan, Flatbed, Tanker, AutoHauler, BoxTruck, Trailer, LowBoy, Dumper, Pickup, TowTruck, DumpTruck.
dateOfScheduledCollectionstring (date-time)
paymentProcessedboolean
paymentUrlstring
paymentMethodenum PaymentMethodOne of: Unknown, Cash, Card, CashOnDelivery, CardOnDelivery, Eft, Crypto, Paypal, WireTransfer, DebitOrder.