---
updatedAt: 2026-04-22T08:07:44.000Z
agentTools:
  projectIndex: https://apidocs.shipmonk.com/llms.txt
---

# Create or Update Order

This endpoint can be used to create an order. The orders are typically pushed to ShipMonk from the 3rd party software.

The Create Order endpoint does not create duplicate entries when both the `store_id` and `order_key` are the same. Instead, it updates the existing order.

*NOTE: Resending an Order with a different `order_key` will result in Order duplication.**

The order can be in following 4 statuses:
- `unfulfilled` will create order for ShipMonk to process
- `cancelled` will create cancelled order or cancel existing order
- `fulfilled` will create order in status "Fulfilled by 3rd party" or change existing order status to that status or not perform any action if order was fulfilled by ShipMonk
- `onHold` will create order in status onHold or put an existing order on hold.

Can be useful:
- if the field `warehouse` is not given, ShipMonk resolves it based on inventory & shipping costs
- the field `custom_data` can be used for any data that you need to store and then receive back in shipment notification
- the field `attributes` is only used for a custom development and in most of the cases it won't be needed
- if the field submit_at is not given, order is submit according to store settings.

## Recipient Tax ID
The **recipient_tax_id** field is an optional parameter when submitting an order through the API. However, it is **mandatory** for international shipments to certain countries, such as Mexico, Brazil, and South Korea. This field plays a role in customs clearance, ensuring accurate calculation of duties and taxes at the destination.

### How it's used
For orders shipping to destinations where a recipient tax ID is mandatory, failure to include this field on the shipping label will result in the order being placed in the **"Recipient Tax ID Required" Action Required status**. Without a valid tax ID, carriers may reject the shipment, returning it to the sender.

### Best Practices
To prevent delays, collect the `recipient_tax_id` from the recipient at checkout. This information is unique to the individual or entity receiving the shipment.

### Resolving Missing Recipient Tax ID Issues
To address a missing recipient tax ID, you can update the `recipient_tax_id` in one of two ways:
- **Via API**: Submit the missing tax ID programmatically using the appropriate endpoint.
- **Manually**: Edit the order details directly in the ShipMonk App.

Additional Resources
For more information, including a current list of countries requiring a recipient tax ID, consult the [Action Required Orders](https://support.shipmonk.com/s/article/Action-Required-Orders) documentation. Refer specifically to the **"Recipient Tax ID Required"** section for detailed guidance and troubleshooting steps.

## Lot requirements
Settings for lot requirements (lot, minimum shelf life, etc.) depend on your account settings. Contact your happiness manager to enable lot management.

It is possible to set minimum shelf life for the whole order, per order item, or specific lot requirements per order item.
- If you set the minimum shelf life for the whole order, you can't use settings at the item level.
- If you set the minimum shelf life for an order item, you can't set specific lot controls for the same order item.

If the lot requirement is not applicable to the mapped bundle, the order is accepted, but the item mapping ends with action required and you have to update the bundles or set different lot requirements.

You can override the requirements from public API manually in the application. New request from API will override the manual settings, also empty lot settings will remove existing lot restrictions.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Shipmonk API",
    "version": "v1.041"
  },
  "paths": {
    "/v1/integrations/order": {
      "post": {
        "operationId": "post-v1-integrations-order",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_OrderSyncOutput"
                }
              }
            }
          }
        },
        "tags": [
          "Orders"
        ],
        "security": [
          {
            "api_key_header_Api-Key": []
          }
        ],
        "description": "This endpoint can be used to create an order. The orders are typically pushed to ShipMonk from the 3rd party software.\n\nThe Create Order endpoint does not create duplicate entries when both the `store_id` and `order_key` are the same. Instead, it updates the existing order.\n\n*NOTE: Resending an Order with a different `order_key` will result in Order duplication.**\n\nThe order can be in following 4 statuses:\n- `unfulfilled` will create order for ShipMonk to process\n- `cancelled` will create cancelled order or cancel existing order\n- `fulfilled` will create order in status \"Fulfilled by 3rd party\" or change existing order status to that status or not perform any action if order was fulfilled by ShipMonk\n- `onHold` will create order in status onHold or put an existing order on hold.\n\nCan be useful:\n- if the field `warehouse` is not given, ShipMonk resolves it based on inventory & shipping costs\n- the field `custom_data` can be used for any data that you need to store and then receive back in shipment notification\n- the field `attributes` is only used for a custom development and in most of the cases it won't be needed\n- if the field submit_at is not given, order is submit according to store settings.\n\n## Recipient Tax ID\nThe **recipient_tax_id** field is an optional parameter when submitting an order through the API. However, it is **mandatory** for international shipments to certain countries, such as Mexico, Brazil, and South Korea. This field plays a role in customs clearance, ensuring accurate calculation of duties and taxes at the destination.\n\n### How it's used\nFor orders shipping to destinations where a recipient tax ID is mandatory, failure to include this field on the shipping label will result in the order being placed in the **\"Recipient Tax ID Required\" Action Required status**. Without a valid tax ID, carriers may reject the shipment, returning it to the sender.\n\n### Best Practices\nTo prevent delays, collect the `recipient_tax_id` from the recipient at checkout. This information is unique to the individual or entity receiving the shipment.\n\n### Resolving Missing Recipient Tax ID Issues\nTo address a missing recipient tax ID, you can update the `recipient_tax_id` in one of two ways:\n- **Via API**: Submit the missing tax ID programmatically using the appropriate endpoint.\n- **Manually**: Edit the order details directly in the ShipMonk App.\n\nAdditional Resources\nFor more information, including a current list of countries requiring a recipient tax ID, consult the [Action Required Orders](https://support.shipmonk.com/s/article/Action-Required-Orders) documentation. Refer specifically to the **\"Recipient Tax ID Required\"** section for detailed guidance and troubleshooting steps.\n\n## Lot requirements\nSettings for lot requirements (lot, minimum shelf life, etc.) depend on your account settings. Contact your happiness manager to enable lot management.\n\nIt is possible to set minimum shelf life for the whole order, per order item, or specific lot requirements per order item.\n- If you set the minimum shelf life for the whole order, you can't use settings at the item level.\n- If you set the minimum shelf life for an order item, you can't set specific lot controls for the same order item.\n\nIf the lot requirement is not applicable to the mapped bundle, the order is accepted, but the item mapping ends with action required and you have to update the bundles or set different lot requirements.\n\nYou can override the requirements from public API manually in the application. New request from API will override the manual settings, also empty lot settings will remove existing lot restrictions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderInput"
              }
            }
          }
        },
        "summary": "Create or Update Order"
      }
    }
  },
  "components": {
    "schemas": {
      "Fulfillment_AccountApiBundle_Input_Order_CreateUpdateFulfillmentRequirements_SpecialRequirementsDatesInput": {
        "type": "object",
        "properties": {
          "earliest": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "default": null,
            "example": "2025-07-24"
          },
          "requested": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "default": null,
            "example": "2025-07-24"
          },
          "latest": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "default": null,
            "example": "2025-07-24"
          }
        },
        "required": [],
        "title": "Special Requirements Dates Input"
      },
      "Fulfillment_AccountApiBundle_Input_Order_OrderReferenceInput": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderReferenceType"
          },
          "value": {
            "type": "string",
            "pattern": "\\S"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "Order Reference Input"
      },
      "Fulfillment_CommonBundle_ApiResource_IntegrationDataOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Key of the custom data entry.",
            "type": "string"
          },
          "value": {
            "description": "Value of the custom data entry; may be any JSON-serializable structure.",
            "type": "object"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Integration Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_Enum_PublicApiOrderStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "unfulfilled",
          "fulfilled",
          "onHold",
          "cancelled"
        ],
        "title": "Order Status"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_OrderPackedItemOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Stock-keeping unit (SKU) of the order item that was packed.",
            "type": "string"
          },
          "line_key": {
            "description": "Identifier of the order line this packed item refers to; null when the packed item is not tied to a specific line.",
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "description": "Number of units of this SKU packed in this package.",
            "type": "integer"
          }
        },
        "required": [
          "sku",
          "line_key",
          "quantity"
        ],
        "title": "Order Packed Item Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PackingGroupOutput": {
        "type": "object",
        "properties": {
          "key": {
            "description": "Stable identifier of the packing group, unique within the order.",
            "type": "string"
          },
          "name": {
            "description": "Human-readable name of the packing group; null if unnamed.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "name"
        ],
        "title": "Packing Group Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiAccountForTradingPartnerOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Internal numeric identifier of the merchant account.",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the merchant account.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "Account For Trading Partner Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiAccountTradingPartnerOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Internal numeric identifier of the trading partner.",
            "type": "integer"
          },
          "identifier": {
            "description": "Short human-readable code identifying the trading partner.",
            "type": "string"
          },
          "name": {
            "description": "Display name of the trading partner.",
            "type": "string"
          },
          "account": {
            "description": "Merchant account that owns this trading partner relationship.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiAccountForTradingPartnerOutput"
          }
        },
        "required": [
          "id",
          "identifier",
          "name",
          "account"
        ],
        "title": "Account Trading Partner Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiCountryDetailOutput": {
        "type": "object",
        "properties": {
          "code": {
            "description": "ISO 3166-1 alpha-2 country code; null if unknown.",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "Country name in English; null if unknown.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "name"
        ],
        "title": "Country Detail Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiExtraDataOutput": {
        "type": "object",
        "properties": {
          "label": {
            "description": "Identifier of the extra data type. Currently supported: carrierShippingMethod.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Enum_ShipmentNotificationExtraDataType"
          },
          "value": {
            "description": "Value corresponding to the label of the extra data entry.",
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "title": "Extra Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderActionsRequiredOutput": {
        "type": "object",
        "properties": {
          "item_mapping": {
            "description": "True if one or more order items could not be mapped to a known product and require manual mapping.",
            "type": "boolean"
          },
          "address": {
            "description": "True if the shipping address could not be validated and requires correction.",
            "type": "boolean"
          },
          "shipping_mapping": {
            "description": "True if the requested shipping service could not be mapped to an available carrier service and requires manual mapping.",
            "type": "boolean"
          },
          "customs": {
            "description": "True if customs information (e.g. declared value, HS codes) is missing or incomplete for an international shipment.",
            "type": "boolean"
          },
          "at_risk": {
            "description": "True if the order is at risk of missing its required ship-by date.",
            "type": "boolean"
          },
          "routing": {
            "description": "True if a B2B routing instruction is missing and must be supplied before shipping.",
            "type": "boolean"
          },
          "freight_quote": {
            "description": "True if a freight quote must be selected before the order can ship.",
            "type": "boolean"
          },
          "freight_info": {
            "description": "True if additional freight details (e.g. dimensions, pallet count) are required to obtain a freight quote.",
            "type": "boolean"
          },
          "ship_short": {
            "description": "True if the order is flagged as a short ship, meaning one or more items could not be fulfilled in the requested quantity.",
            "type": "boolean"
          },
          "hs_code": {
            "description": "True if Harmonized System (HS) tariff codes are missing for one or more items on a customs-bound shipment.",
            "type": "boolean"
          },
          "global_e_label": {
            "description": "True if a Global-e label (cross-border shipping label provided by the Global-e service) is still required for the order.",
            "type": "boolean"
          },
          "ship_monk_hazmat_carrier_service_not_available": {
            "description": "Deprecated: Will always be false, kept for backwards compatibility True if the order contains hazardous materials but no carrier service is available to ship them from the assigned warehouse.",
            "deprecated": true,
            "type": "boolean"
          },
          "automation_rule": {
            "description": "True if an automation rule has flagged the order for manual review or action.",
            "type": "boolean"
          },
          "pending_b2b_routing": {
            "description": "True if the order is awaiting B2B retailer routing instructions before fulfillment can proceed.",
            "type": "boolean"
          },
          "value_added_service_problem": {
            "description": "True if one of the order's value-added services (e.g. kitting, custom packaging) cannot be performed and needs attention.",
            "type": "boolean"
          }
        },
        "required": [
          "item_mapping",
          "address",
          "shipping_mapping",
          "customs",
          "at_risk",
          "routing",
          "freight_quote",
          "freight_info",
          "ship_short",
          "hs_code",
          "global_e_label",
          "ship_monk_hazmat_carrier_service_not_available",
          "automation_rule",
          "pending_b2b_routing",
          "value_added_service_problem"
        ],
        "title": "Order Actions Required Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderAttributeOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Key of the custom attribute.",
            "type": "string"
          },
          "value": {
            "description": "Value of the custom attribute.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Order Attribute Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderCostsOutput": {
        "type": "object",
        "properties": {
          "estimated_shipping_related_charges": {
            "description": "Estimated shipping-related charges for the order. Null when no estimate is available.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Money_Output_MoneyOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimated_packaging_material_charges": {
            "description": "Estimated charges for packaging materials used in the order. Null when no estimate is available.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Money_Output_MoneyOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimated_pick_and_pack_charges": {
            "description": "Estimated charges for picking and packing labor for the order. Null when no estimate is available.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Money_Output_MoneyOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "estimated_shipping_related_charges",
          "estimated_packaging_material_charges",
          "estimated_pick_and_pack_charges"
        ],
        "title": "Order Costs Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderDetailCustomDataOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Key name of the custom data entry.",
            "type": "string"
          },
          "value": {
            "description": "Value of the custom data entry.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Order Detail Custom Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderDetailOutput": {
        "type": "object",
        "properties": {
          "order_key": {
            "description": "Unique identifier from an external system used to associate an order. Must be unique per order and store.",
            "type": "string"
          },
          "order_number": {
            "description": "Customer-facing identifier for an order. Uniqueness is recommended but not strictly enforced.",
            "type": "string"
          },
          "order_type": {
            "description": "Order classification (e.g. standard, wholesale, return). Null when not categorized.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Order_Enum_OrderType"
              },
              {
                "type": "null"
              }
            ]
          },
          "store": {
            "description": "Sales channel or storefront the order originated from.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiStoreNameOutput"
          },
          "warehouse": {
            "description": "Warehouse where the order is processed. Null if a warehouse has not yet been assigned.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiWarehouseDetailOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "trading_partner": {
            "description": "B2B trading partner (e.g. retailer or distributor) the order is destined for. Null for direct-to-consumer orders.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiAccountTradingPartnerOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "ordered_at": {
            "description": "ISO 8601 timestamp indicating when the order was originally placed.",
            "type": "string",
            "format": "date-time"
          },
          "customer_email": {
            "description": "Customer's email address. Null when not provided by the source system.",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipping_method": {
            "description": "Carrier and service selected to ship the order. Null if no method has been resolved yet.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_PublicApiBundle_ApiResource_ShippingMethod_PublicApiShippingMethodDetailOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "requested_shipping_service": {
            "description": "Free-text shipping service originally requested by the customer or source system; null if none was specified.",
            "type": [
              "string",
              "null"
            ]
          },
          "shipping_paid": {
            "description": "Amount the customer paid for shipping, expressed in the order's currency_code.",
            "type": "number",
            "format": "double"
          },
          "tax_paid": {
            "description": "Amount the customer paid in taxes, expressed in the order's currency_code.",
            "type": "number",
            "format": "double"
          },
          "order_costs": {
            "description": "Estimated fulfillment-service charges (shipping, packaging, pick & pack) for the order. These are estimates and may differ from final billed amounts.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderCostsOutput"
          },
          "ship_from": {
            "description": "Origin address from which the order will ship. Null when not yet determined.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShippingOrderDetailAddressOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "ship_to": {
            "description": "Destination address the order will be shipped to. Null when not yet specified.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShippingOrderDetailAddressOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "order_status": {
            "description": "High-level order state: unfulfilled (not yet shipped), fulfilled (shipped), onHold (paused), cancelled.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_Enum_PublicApiOrderStatus"
          },
          "processing_status": {
            "description": "Fine-grained processing stage of the order. Values: backorder, unable_to_submit, queued_to_submit, subscription, package_forwarding, awaiting_self_fulfillment, on_hold, submitted, pick_in_progress, pack_in_progress, packed, awaiting_pick_up, awaiting_carrier_processing, en_route, delivered, undeliverable, shipped_untrackable, fulfilled_by_3rd, cancellation_requested, cancelled, updating.",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderListStatus"
          },
          "items": {
            "description": "Line items (SKUs and quantities) included in the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemOutput"
            }
          },
          "attributes": {
            "description": "Custom key/value attributes attached to the order by the merchant or source system.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderAttributeOutput"
            }
          },
          "currency_code": {
            "description": "ISO 4217 currency code used for all monetary values on the order.",
            "type": "string"
          },
          "references": {
            "description": "Additional external reference identifiers attached to the order (e.g. PO number, marketplace reference).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderReferenceOutput"
            }
          },
          "custom_data": {
            "description": "Custom key-value data associated with the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderDetailCustomDataOutput"
            }
          },
          "special_requirements": {
            "description": "Special handling requirements for the order, such as required documents, label dates, and pack list rules. Null when none apply.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialRequirementsOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "actions_required": {
            "description": "Boolean flags indicating issues that must be resolved before the order can be fulfilled.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderActionsRequiredOutput"
          },
          "master_tracking_number": {
            "description": "Master tracking number that groups all packages of a multi-piece shipment; null when not applicable.",
            "type": [
              "string",
              "null"
            ]
          },
          "tracking_url": {
            "description": "Carrier URL where the customer can track the shipment; null if not yet available.",
            "type": [
              "string",
              "null"
            ]
          },
          "returns": {
            "description": "Return Merchandise Authorizations (RMAs) created for this order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderReturnDataOutput"
            }
          },
          "packages": {
            "description": "Per-package fulfillment data, including tracking numbers, weights, and packed contents.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPackageDataOutput"
            }
          },
          "tax_id": {
            "description": "Deprecated: Use recipientTaxId Deprecated; use recipient_tax_id instead. Tax identifier associated with the recipient.",
            "deprecated": true,
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_PublicApiBundle_ApiResource_Order_PublicApiOrderTaxIdOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "recipient_tax_id": {
            "description": "Recipient tax identification (e.g. VAT or EIN); null when not provided. Used for customs clearance on international shipments.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_PublicApiBundle_ApiResource_Order_PublicApiOrderTaxIdOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipment_data": {
            "description": "Carrier and tracking details once the order has shipped; null until shipment data is available.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShipmentDataOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "order_parts": {
            "description": "Information about related orders when an order has been split into multiple parts; null if the order was not split.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "description": "How the order came to exist, with the same values as in the ShipMonk app: manual (created in the ShipMonk app), imported (synced from a store integration or created through the public API), manually_imported (uploaded from a file), merged (a merge order combining several orders of one customer, see merged_orders), cloned (a copy of another order created in the ShipMonk app), splitted (a part of an order that was split manually or automatically, for example to ship hazardous materials or items that do not fit into one box separately), oversize_split (a part of an order split automatically so that each unit of an oversized item ships separately), claim_reship (a reshipment created from a claim), automated_bonded_clearance_order (an order created automatically by ShipMonk to move your inventory from a bonded warehouse to another of your warehouses), and wholesale_split and package_forwarding_split (parts of split orders that appear only on historical orders).",
            "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_Output_PublicApiOrderSource"
          },
          "merged_to_order": {
            "description": "null unless this order was combined with other orders of the same customer into a merge order. In that case this order is cancelled and this field points to the merge order that ships in its place. If the merge order is later cancelled, the link is removed and this field is null again, while this order stays cancelled.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_Output_PublicApiRelatedOrderOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "merged_orders": {
            "description": "For a merge order (source is merged), the orders that were combined into it, oldest first. Empty for all other orders, and also empty after the merge order is cancelled.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_Output_PublicApiRelatedOrderOutput"
            }
          },
          "shipped_at": {
            "description": "ISO 8601 timestamp of when the order was shipped; null if not yet shipped.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updated_at": {
            "description": "ISO 8601 timestamp of when the order was last updated; null if never updated since creation.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "order_size": {
            "description": "Size classification of the order based on item dimensions: unknown, regular, oversized_item, large, or extra_large.",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderSize"
          },
          "extra_data": {
            "description": "Additional key/value attributes attached to the shipment notification (e.g. carrier shipping method).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiExtraDataOutput"
            }
          },
          "serial_numbers": {
            "description": "Serial numbers of items fulfilled in the order, grouped by order line.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSerialNumberOutput"
            }
          },
          "gift_message": {
            "description": "Gift message to include with the order; null if the order is not a gift.",
            "type": [
              "string",
              "null"
            ]
          },
          "gift_from": {
            "description": "Name of the gift sender; null if the order is not a gift.",
            "type": [
              "string",
              "null"
            ]
          },
          "customer_notes": {
            "description": "Customer-provided notes about the order; null if no notes were submitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "order_detail_url": {
            "description": "URL to view the order in the ShipMonk web application (requires sign-in).",
            "type": "string"
          }
        },
        "required": [
          "order_key",
          "order_number",
          "order_type",
          "store",
          "warehouse",
          "trading_partner",
          "ordered_at",
          "customer_email",
          "shipping_method",
          "requested_shipping_service",
          "shipping_paid",
          "tax_paid",
          "order_costs",
          "ship_from",
          "ship_to",
          "order_status",
          "processing_status",
          "items",
          "attributes",
          "currency_code",
          "references",
          "custom_data",
          "special_requirements",
          "actions_required",
          "master_tracking_number",
          "tracking_url",
          "returns",
          "packages",
          "tax_id",
          "recipient_tax_id",
          "shipment_data",
          "order_parts",
          "source",
          "merged_to_order",
          "merged_orders",
          "shipped_at",
          "updated_at",
          "order_size",
          "extra_data",
          "serial_numbers",
          "gift_message",
          "gift_from",
          "customer_notes",
          "order_detail_url"
        ],
        "title": "Order Detail Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemOutput": {
        "type": "object",
        "properties": {
          "line_key": {
            "description": "External system identifier for this order line, unique within the order. Null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "sku": {
            "description": "Stock Keeping Unit (SKU) identifying the marketplace item being ordered.",
            "type": "string"
          },
          "name": {
            "description": "Display name of the marketplace item as captured on the order line.",
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "description": "Number of units of this SKU ordered.",
            "type": "integer"
          },
          "price": {
            "description": "Per-unit price charged to the customer, in the order's currency_code. Null when not provided.",
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "image_url": {
            "description": "Absolute URL of the marketplace item image, if available.",
            "type": [
              "string",
              "null"
            ]
          },
          "fulfilled_quantity": {
            "description": "Number of units already shipped (fulfilled) for this line. Null if fulfillment has not started.",
            "type": [
              "integer",
              "null"
            ]
          },
          "source": {
            "description": "How this line was added to the order: imported (from the source channel), manual (added by a user), inserted (system-inserted, e.g. promo), packaging (added as packaging material), claim_reship (added as part of a claim reship).",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderItemSource"
          },
          "products": {
            "description": "Physical products allocated to fulfill this order line. A line with a bundle SKU may resolve to multiple component products.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductOutput"
            }
          }
        },
        "required": [
          "line_key",
          "sku",
          "name",
          "quantity",
          "price",
          "image_url",
          "fulfilled_quantity",
          "source",
          "products"
        ],
        "title": "Order Item Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductLotOutput": {
        "type": "object",
        "properties": {
          "number": {
            "description": "Lot (batch) number assigned to the product. Null when the lot has no number recorded.",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "description": "Lot expiration date in ISO 8601 format (YYYY-MM-DD), or null if not applicable.",
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          }
        },
        "required": [
          "number",
          "expiration_date"
        ],
        "title": "Order Item Product Lot Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Stock Keeping Unit (SKU) identifying the product being ordered.",
            "type": "string"
          },
          "quantity": {
            "description": "Number of units of this physical product allocated to the order line.",
            "type": "integer"
          },
          "backordered_quantity": {
            "description": "Number of units of this product that could not be allocated because of insufficient stock.",
            "type": "integer"
          },
          "lot": {
            "description": "Inventory lot (batch) selected for this product. Null when the product is not lot-tracked or no lot has been assigned yet.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductLotOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "other_potential_lots": {
            "description": "Other inventory lots that could alternatively be used to fulfill this product.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductLotOutput"
            }
          }
        },
        "required": [
          "sku",
          "quantity",
          "backordered_quantity",
          "lot",
          "other_potential_lots"
        ],
        "title": "Order Item Product Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPackageDataOutput": {
        "type": "object",
        "properties": {
          "number": {
            "description": "Sequential index (1-based) of this package within the order; null if not assigned.",
            "type": [
              "integer",
              "null"
            ]
          },
          "tracking_number": {
            "description": "Carrier tracking number for this package; null if not yet generated or untrackable.",
            "type": [
              "string",
              "null"
            ]
          },
          "tracking_url": {
            "description": "Carrier URL for tracking this package; null if not yet available.",
            "type": [
              "string",
              "null"
            ]
          },
          "weight_lb": {
            "description": "Total weight of the package (the unit, despite the field name, is provided in the value object); null if not measured.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Measurement_Output_WeightOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "pallet_weight_lb": {
            "description": "Weight of the pallet on which this package is shipped (unit given inside the value object); null if not palletized or not measured.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Measurement_Output_WeightOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "pallet_number": {
            "description": "Index (1-based) of the pallet that contains this package; null if not palletized.",
            "type": [
              "integer",
              "null"
            ]
          },
          "box_number": {
            "description": "Index (1-based) of the box within its pallet; null if not palletized.",
            "type": [
              "integer",
              "null"
            ]
          },
          "carton_labels": {
            "description": "Carton-level labels (e.g. packing slip, pallet label) applied to this package.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiPackageCartonLabelOutput"
            }
          },
          "packed_products": {
            "description": "Products contained in this package, aggregated by SKU with packed quantities and lot details.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiPackedProductOutput"
            }
          },
          "packing_group": {
            "description": "Packing group this package belongs to, used to split an order across multiple shipments; null if not grouped.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PackingGroupOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "packed_items": {
            "description": "Order line items packed in this package, with per-line quantities.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_OrderPackedItemOutput"
            }
          }
        },
        "required": [
          "number",
          "tracking_number",
          "tracking_url",
          "weight_lb",
          "pallet_weight_lb",
          "pallet_number",
          "box_number",
          "carton_labels",
          "packed_products",
          "packing_group",
          "packed_items"
        ],
        "title": "Order Package Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartItemOutput": {
        "type": "object",
        "properties": {
          "order_number": {
            "description": "Order number of this part order.",
            "type": "string"
          }
        },
        "required": [
          "order_number"
        ],
        "title": "Order Part Item Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartMainOrderOutput": {
        "type": "object",
        "properties": {
          "order_number": {
            "description": "Order number of the main order this part was split from.",
            "type": "string"
          },
          "parts": {
            "description": "List of all part orders created from splitting the main order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartItemOutput"
            }
          }
        },
        "required": [
          "order_number",
          "parts"
        ],
        "title": "Order Part Main Order Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartOutput": {
        "type": "object",
        "properties": {
          "main_order": {
            "description": "Reference to the original (main) order from which this order was split.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderPartMainOrderOutput"
          }
        },
        "required": [
          "main_order"
        ],
        "title": "Order Part Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderReferenceOutput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of order reference. One of: order_number, original_imported_order_number, customer_order_number, po_number, reference_number, b2b_routing_reference, release_number, job_number, depositor_order_number.",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderReferenceType"
          },
          "value": {
            "description": "The reference identifier value, interpreted according to type.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "Order Reference Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderReturnDataOutput": {
        "type": "object",
        "properties": {
          "rma": {
            "description": "Return Merchandise Authorization (RMA) number identifying this return.",
            "type": "string"
          }
        },
        "required": [
          "rma"
        ],
        "title": "Order Return Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiPackageCartonLabelOutput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Kind of label printed on the carton. Values include order- and carton-level pack lists, retailer packing slips, carton/pallet labels, GS1 labels, and customized or special-instruction labels.",
            "$ref": "#/components/schemas/ShipMonk_OMS_RequiredLabels_Enum_PackingLabelType"
          },
          "identifier": {
            "description": "Identifier printed on the label (e.g. SSCC); null if the label type has no identifier.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "type",
          "identifier"
        ],
        "title": "Package Carton Label Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiPackedProductOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Stock-keeping unit (SKU) of the product packed in this package.",
            "type": "string"
          },
          "quantity": {
            "description": "Number of units of this SKU packed in this package.",
            "type": "integer"
          },
          "lots": {
            "description": "Lot/batch identifiers and quantities for the packed units, when lot tracking applies.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderItemProductLotOutput"
            }
          }
        },
        "required": [
          "sku",
          "quantity",
          "lots"
        ],
        "title": "Packed Product Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiRoutingDataOutput": {
        "type": "object",
        "properties": {
          "routing_key": {
            "description": "Identifier of the routing instructions assigned to this shipment (used to match retailer routing guides).",
            "type": "string"
          }
        },
        "required": [
          "routing_key"
        ],
        "title": "Routing Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSerialNumberItemOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Stock Keeping Unit (SKU) identifying the product.",
            "type": "string"
          },
          "serial_number": {
            "description": "Serial number recorded for the fulfilled unit.",
            "type": "string"
          }
        },
        "required": [
          "sku",
          "serial_number"
        ],
        "title": "Serial Number Item Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSerialNumberOutput": {
        "type": "object",
        "properties": {
          "line_key": {
            "description": "Key of the order line item these serial numbers belong to; null when serial numbers cannot be matched to a specific line.",
            "type": [
              "string",
              "null"
            ]
          },
          "serial_numbers": {
            "description": "Serial numbers recorded for units fulfilled on this order line.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSerialNumberItemOutput"
            }
          }
        },
        "required": [
          "line_key",
          "serial_numbers"
        ],
        "title": "Serial Number Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShipmentDataOutput": {
        "type": "object",
        "properties": {
          "carrier": {
            "description": "Name of the carrier handling the shipment. For standard shipments it is one value from the list. In cases involving custom labels or freight shipments, the field may contain values outside of this list.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_ShippingConnector_ValueObject_PublicApiCarrierIdentifier"
              },
              {
                "type": "string"
              }
            ]
          },
          "service": {
            "description": "Carrier service level used (e.g. Ground, Express); null if the carrier does not report a service level.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_tracking_url": {
            "description": "Public URL provided by the carrier to track the shipment; null if not available.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_alpha_code": {
            "description": "Carrier's Standard Carrier Alpha Code (SCAC), a 2-4 letter identifier; null if not assigned.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_trans_method_code": {
            "description": "Carrier transportation method code (e.g. air, ground, ocean); null if not provided by the carrier.",
            "type": [
              "string",
              "null"
            ]
          },
          "bill_of_lading_number": {
            "description": "Bill of lading (BOL) number, the transport document identifier issued by the carrier; null if not yet assigned.",
            "type": [
              "string",
              "null"
            ]
          },
          "master_bill_of_lading_number": {
            "description": "Master bill of lading number grouping multiple BOLs under a consolidated shipment; null if not consolidated.",
            "type": [
              "string",
              "null"
            ]
          },
          "load_number": {
            "description": "Carrier-assigned load number identifying the freight load this shipment belongs to; null if not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "authorization_number": {
            "description": "Carrier authorization number (e.g. PRO or pickup authorization) issued for the shipment; null if not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_shipping_cost": {
            "description": "Estimated shipping cost in the order's currency; null if not yet calculated.",
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "routing": {
            "description": "Routing information assigned to the shipment (e.g. for retailer-routed freight); null when routing is not applicable.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiRoutingDataOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "carrier",
          "service",
          "carrier_tracking_url",
          "carrier_alpha_code",
          "carrier_trans_method_code",
          "bill_of_lading_number",
          "master_bill_of_lading_number",
          "load_number",
          "authorization_number",
          "estimated_shipping_cost",
          "routing"
        ],
        "title": "Shipment Data Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShippingLabelOutput": {
        "type": "object",
        "properties": {
          "url": {
            "description": "URL from which the customer-provided shipping label can be downloaded.",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "Shipping Label Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShippingOrderDetailAddressOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Full name of the recipient or contact at this address.",
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "description": "Company name at this address, if any.",
            "type": [
              "string",
              "null"
            ]
          },
          "street1": {
            "description": "Primary street address line (e.g. number and street).",
            "type": [
              "string",
              "null"
            ]
          },
          "street2": {
            "description": "Secondary street address line (e.g. apartment, suite, or unit).",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "description": "State, province, or region of the address.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "description": "City or locality of the address.",
            "type": [
              "string",
              "null"
            ]
          },
          "zip": {
            "description": "Postal or ZIP code of the address.",
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code (e.g. US, DE).",
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "description": "Contact phone number for the address.",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "description": "Contact email for the address.",
            "type": [
              "string",
              "null"
            ]
          },
          "residential": {
            "description": "true if the address is residential, false if commercial, null if unknown.",
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "name",
          "company",
          "street1",
          "street2",
          "state",
          "city",
          "zip",
          "country_code",
          "phone",
          "email",
          "residential"
        ],
        "title": "Shipping Order Detail Address Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionDateOutput": {
        "type": "object",
        "properties": {
          "earliest": {
            "description": "Earliest acceptable date for the event (ISO-8601 date); null if no lower bound.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "requested": {
            "description": "Preferred target date for the event (ISO-8601 date); null if not specified.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "latest": {
            "description": "Latest acceptable date for the event (ISO-8601 date); null if no upper bound.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "earliest",
          "requested",
          "latest"
        ],
        "title": "Special Instruction Date Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionNameUrlOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Human-readable name or description of the document; null if unnamed.",
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "description": "URL from which the document file can be downloaded.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "url"
        ],
        "title": "Special Instruction Name Url Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialRequirementsOutput": {
        "type": "object",
        "properties": {
          "special_instruction": {
            "description": "Free-text special handling instructions for the order, or null if none.",
            "type": [
              "string",
              "null"
            ]
          },
          "carton_labels": {
            "description": "Carton labels (name and download URL) that must be applied to the order's cartons.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionNameUrlOutput"
            }
          },
          "additional_documents": {
            "description": "Additional documents (name and download URL) that must accompany the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionNameUrlOutput"
            }
          },
          "shipping_label": {
            "description": "Customer-provided shipping label to be used for the order; null if not supplied.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiShippingLabelOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipping_date": {
            "description": "Requested shipping date with earliest, requested, and latest dates (ISO-8601); null if none requested.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionDateOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "delivery_date": {
            "description": "Requested delivery date with earliest, requested, and latest dates (ISO-8601); null if none requested.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiSpecialInstructionDateOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "cancel_date": {
            "description": "Date (ISO-8601) after which the order should be cancelled if not yet shipped; null if no cutoff.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "pack_list_required": {
            "description": "True if a packing list document must be included with the shipment.",
            "type": "boolean"
          }
        },
        "required": [
          "special_instruction",
          "carton_labels",
          "additional_documents",
          "shipping_label",
          "shipping_date",
          "delivery_date",
          "cancel_date",
          "pack_list_required"
        ],
        "title": "Special Requirements Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiStoreNameOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Internal numeric identifier of the store.",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the store.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "Store Name Output"
      },
      "Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiWarehouseDetailOutput": {
        "type": "object",
        "properties": {
          "identifier": {
            "description": "Short human-readable code identifying the warehouse.",
            "type": "string"
          },
          "id": {
            "description": "Internal numeric identifier of the warehouse.",
            "type": "integer"
          },
          "name": {
            "description": "Display name of the warehouse.",
            "type": "string"
          },
          "warehouse_wms_type": {
            "description": "Warehouse management system (WMS) backing the warehouse. One of: shipmonk (ShipMonk-operated), merchant_facility (merchant's own facility).",
            "$ref": "#/components/schemas/ShipMonk_WmsConnector_Order_ValueObject_WmsType"
          }
        },
        "required": [
          "identifier",
          "id",
          "name",
          "warehouse_wms_type"
        ],
        "title": "Warehouse Detail Output"
      },
      "Fulfillment_IntegrationsBundle_Crate_NotifyShipmentPackingConfigurationPackingGroupOutput": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "name"
        ],
        "title": "Notify Shipment Packing Configuration Packing Group Output"
      },
      "Fulfillment_IntegrationsBundle_Crate_OrderSyncOutput": {
        "type": "object",
        "properties": {
          "message": {
            "description": "Human-readable message indicating whether the order was created or updated.",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "Order Sync Output"
      },
      "Fulfillment_IntegrationsBundle_Crate_PublicApiReceivingItemDetailsOutput": {
        "type": "object",
        "properties": {
          "lot": {
            "description": "Lot/batch tracking data for the units in this receipt entry, or null if no lot is tracked.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemLotPublicApiOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_quantity": {
            "description": "Number of units expected in this lot/batch entry.",
            "type": "integer"
          },
          "received_quantity": {
            "description": "Number of units actually received in this lot/batch entry.",
            "type": "integer"
          },
          "received_at": {
            "description": "Timestamp when this batch was received at the warehouse, in ISO 8601 format. Null if not yet received.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "line_key": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "lot",
          "expected_quantity",
          "received_quantity",
          "received_at",
          "line_key"
        ],
        "title": "Receiving Item Details Output"
      },
      "Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemLotPublicApiOutput": {
        "type": "object",
        "properties": {
          "lot_number": {
            "description": "Lot/batch number assigned by the supplier, or null if not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "description": "Lot expiration date in ISO 8601 format (YYYY-MM-DD), or null if not applicable.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "lot_number",
          "expiration_date"
        ],
        "title": "Return Or Receiving Item Lot Output"
      },
      "Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemProductPublicApiOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Server-assigned numeric identifier of the product.",
            "type": "integer"
          },
          "sku": {
            "description": "Stock Keeping Unit (SKU), the client's unique product code.",
            "type": "string"
          },
          "name": {
            "description": "Human-readable name of the product.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "sku",
          "name"
        ],
        "title": "Return Or Receiving Item Product Output"
      },
      "Fulfillment_IntegrationsBundle_Enum_CartonLabelType": {
        "type": [
          "string"
        ],
        "enum": [
          "gs1",
          "shipmonk_gs1",
          "customized_carton_labels",
          "custom"
        ],
        "title": "Carton Label Type"
      },
      "Fulfillment_IntegrationsBundle_Enum_OrderLevelPackingSlipType": {
        "type": [
          "string"
        ],
        "enum": [
          "retailer"
        ],
        "title": "Order Level Packing Slip Type"
      },
      "Fulfillment_IntegrationsBundle_Enum_ShipmentNotificationExtraDataType": {
        "type": [
          "string"
        ],
        "enum": [
          "carrierShippingMethod"
        ],
        "title": "Shipment Notification Extra Data Type"
      },
      "Fulfillment_IntegrationsBundle_Type_OrderSyncOrderStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "unfulfilled",
          "fulfilled",
          "cancelled",
          "onHold"
        ],
        "x-enumDescriptions": {
          "unfulfilled": "Order will be fulfilled by ShipMonk",
          "fulfilled": "Order has been already fulfilled, ShipMonk won't fulfill this order",
          "cancelled": "Order won't be fulfilled by ShipMonk",
          "onHold": "Order is temporarily on hold and can be restored or cancelled any time"
        },
        "title": "Order Sync Order Status"
      },
      "Fulfillment_OrderBundle_Enum_FulfillmentStrategy": {
        "type": [
          "string"
        ],
        "enum": [
          "standard",
          "drop-ship",
          "cross-dock"
        ],
        "title": "Fulfillment Strategy"
      },
      "Fulfillment_OrderBundle_Enum_OrderItemSource": {
        "type": [
          "string"
        ],
        "enum": [
          "imported",
          "manual",
          "inserted",
          "packaging",
          "claim_reship"
        ],
        "title": "Order Item Source"
      },
      "Fulfillment_OrderBundle_Enum_OrderListStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "backorder",
          "unable_to_submit",
          "queued_to_submit",
          "subscription",
          "package_forwarding",
          "awaiting_self_fulfillment",
          "on_hold",
          "submitted",
          "pick_in_progress",
          "pack_in_progress",
          "packed",
          "awaiting_pick_up",
          "awaiting_carrier_processing",
          "en_route",
          "delivered",
          "undeliverable",
          "shipped_untrackable",
          "fulfilled_by_3rd",
          "cancellation_requested",
          "cancelled",
          "updating"
        ],
        "title": "Order List Status"
      },
      "Fulfillment_OrderBundle_Enum_OrderReferenceType": {
        "type": [
          "string"
        ],
        "enum": [
          "order_number",
          "original_imported_order_number",
          "customer_order_number",
          "po_number",
          "reference_number",
          "b2b_routing_reference",
          "release_number",
          "job_number",
          "depositor_order_number"
        ],
        "title": "Order Reference Type"
      },
      "Fulfillment_OrderBundle_Enum_OrderSize": {
        "type": [
          "string"
        ],
        "enum": [
          "unknown",
          "regular",
          "oversized_item",
          "large",
          "extra_large"
        ],
        "title": "Order Size"
      },
      "Fulfillment_OrderBundle_Input_Enum_OrderItemSpecialInstructionType": {
        "type": [
          "string"
        ],
        "enum": [
          "embroidery"
        ],
        "title": "Order Item Special Instruction Type"
      },
      "Fulfillment_PublicApiBundle_ApiResource_Carrier_PublicApiCarrierDetailOutput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "Carrier Detail Output"
      },
      "Fulfillment_PublicApiBundle_ApiResource_Order_PublicApiOrderTaxIdOutput": {
        "type": "object",
        "properties": {
          "tax_id_type": {
            "description": "Type of tax identifier. One of: VAT, IOSS, TIN, EIN, EORI, ARN, RFC, CPF, CNPJ, PCCC, VOEC.",
            "$ref": "#/components/schemas/Fulfillment_UserBundle_Enum_TaxIdType"
          },
          "value": {
            "description": "Tax identification number, formatted according to its type and issuing country.",
            "type": "string"
          },
          "issuing_country": {
            "description": "Country that issued the tax identification number.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiCountryDetailOutput"
          }
        },
        "required": [
          "tax_id_type",
          "value",
          "issuing_country"
        ],
        "title": "Order Tax Id Output"
      },
      "Fulfillment_PublicApiBundle_ApiResource_ShippingMethod_PublicApiShippingMethodDetailOutput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "carrier": {
            "$ref": "#/components/schemas/Fulfillment_PublicApiBundle_ApiResource_Carrier_PublicApiCarrierDetailOutput"
          }
        },
        "required": [
          "id",
          "name",
          "carrier"
        ],
        "title": "Shipping Method Detail Output"
      },
      "Fulfillment_UserBundle_Enum_TaxIdType": {
        "type": [
          "string"
        ],
        "enum": [
          "VAT",
          "IOSS",
          "TIN",
          "EIN",
          "EORI",
          "ARN",
          "RFC",
          "CPF",
          "CNPJ",
          "PCCC",
          "VOEC"
        ],
        "title": "Tax Id Type"
      },
      "ShipMonk_Measurement_Output_DimensionsOutput": {
        "type": "object",
        "properties": {
          "length": {
            "description": "Length in the unit specified by the sibling \"unit\" field.",
            "type": "number",
            "format": "double"
          },
          "width": {
            "description": "Width in the unit specified by the sibling \"unit\" field.",
            "type": "number",
            "format": "double"
          },
          "height": {
            "description": "Height in the unit specified by the sibling \"unit\" field.",
            "type": "number",
            "format": "double"
          },
          "unit": {
            "description": "Unit of measurement applied to length, width and height. Allowed values: m, cm, mm, ft, in.",
            "$ref": "#/components/schemas/ShipMonk_Measurement_ValueObject_LengthUnit"
          }
        },
        "required": [
          "length",
          "width",
          "height",
          "unit"
        ],
        "title": "Dimensions Output"
      },
      "ShipMonk_Measurement_Output_WeightOutput": {
        "type": "object",
        "properties": {
          "value": {
            "description": "Numeric weight value, expressed in the unit given by the unit field.",
            "type": "number",
            "format": "double"
          },
          "unit": {
            "description": "Unit of measure for the weight value. One of: kg, g, lb, oz.",
            "$ref": "#/components/schemas/ShipMonk_Measurement_ValueObject_WeightUnit"
          }
        },
        "required": [
          "value",
          "unit"
        ],
        "title": "Weight Output"
      },
      "ShipMonk_Measurement_ValueObject_LengthUnit": {
        "type": [
          "string"
        ],
        "enum": [
          "m",
          "cm",
          "mm",
          "ft",
          "in"
        ],
        "title": "Length Unit"
      },
      "ShipMonk_Measurement_ValueObject_WeightUnit": {
        "type": [
          "string"
        ],
        "enum": [
          "kg",
          "g",
          "lb",
          "oz"
        ],
        "title": "Weight Unit"
      },
      "ShipMonk_Money_Output_MoneyOutput": {
        "type": "object",
        "properties": {
          "amount": {
            "description": "Decimal monetary amount in the currency given by the sibling currency field.",
            "type": "number",
            "format": "double"
          },
          "currency": {
            "description": "ISO 4217 currency code (e.g. USD, EUR) for the accompanying amount.",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "title": "Money Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_CustomDataOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Name (key) of the custom data field supplied by the client integration.",
            "type": "string"
          },
          "value": {
            "description": "Value of the custom data field; its type depends on what the integration supplied.",
            "type": "object"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Custom Data Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_DateTimeOutput": {
        "type": "object",
        "properties": {
          "date": {
            "description": "Local date and time formatted as \"Y-m-d H:i:s.u\".",
            "type": "string"
          },
          "timezone": {
            "description": "Name of the timezone the date is expressed in (e.g. America/New_York).",
            "type": "string"
          },
          "timezone_type": {
            "description": "PHP timezone type identifier describing how the timezone is represented (3 = timezone name).",
            "type": "integer"
          }
        },
        "required": [
          "date",
          "timezone",
          "timezone_type"
        ],
        "title": "Date Time Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_MainOrderOutput": {
        "type": "object",
        "properties": {
          "order_number": {
            "description": "Order number of the main order.",
            "type": "string"
          },
          "parts": {
            "description": "Partial orders this main order was split into; empty when the order was not split.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_OrderPartOutput"
            }
          }
        },
        "required": [
          "order_number",
          "parts"
        ],
        "title": "Main Order Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_OrderPartOutput": {
        "type": "object",
        "properties": {
          "order_number": {
            "description": "Order number of the split order.",
            "type": "string"
          }
        },
        "required": [
          "order_number"
        ],
        "title": "Order Part Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_OrderPartsOutput": {
        "type": "object",
        "properties": {
          "main_order": {
            "description": "Main order together with the partial orders it was split into.",
            "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_MainOrderOutput"
          }
        },
        "required": [
          "main_order"
        ],
        "title": "Order Parts Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_PackageOutput": {
        "type": "object",
        "properties": {
          "tracking_number": {
            "description": "Tracking number of this package; null when not yet assigned.",
            "type": [
              "string",
              "null"
            ]
          },
          "tracking_link": {
            "description": "ShipMonk tracking page URL for this package; null when unavailable.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_tracking_url": {
            "description": "Tracking page URL hosted by the carrier for this package; null when unavailable.",
            "type": [
              "string",
              "null"
            ]
          },
          "weight_lb": {
            "description": "Weight of the package in pounds (lb); null when unknown.",
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "packed_products": {
            "description": "Products packed into this package, each with sku, quantity and lot details (lot_number, expiration_date); null when packed products are not tracked for this package.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "sku": {
                  "type": "string"
                },
                "quantity": {
                  "type": "integer"
                },
                "lots": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lot_number": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "expiration_date": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "lot_number",
                      "expiration_date"
                    ]
                  }
                },
                "line_key": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "sku",
                "quantity",
                "lots",
                "line_key"
              ]
            }
          },
          "box_number": {
            "description": "Sequential number of this box within the shipment; null when not applicable.",
            "type": [
              "integer",
              "null"
            ]
          },
          "pallet_number": {
            "description": "Number of the pallet this package is placed on; null when the package is not on a pallet.",
            "type": [
              "integer",
              "null"
            ]
          },
          "carton_labels": {
            "description": "Labels (e.g. carton or GS1 labels) attached to this package; null when none.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_PackingLabelOutput"
            }
          },
          "pallet_weight_lb": {
            "description": "Total weight of the pallet this package belongs to, in pounds (lb); null when not palletized.",
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "packing_group": {
            "description": "Packing group this package was packed under; null when none.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_NotifyShipmentPackingConfigurationPackingGroupOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "packed_items": {
            "description": "Order items packed into this package with quantities; null when not tracked at item level.",
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_PackedOrderItemOutput"
            }
          }
        },
        "required": [
          "tracking_number",
          "tracking_link",
          "carrier_tracking_url",
          "weight_lb",
          "packed_products",
          "box_number",
          "pallet_number",
          "carton_labels",
          "pallet_weight_lb",
          "packing_group",
          "packed_items"
        ],
        "title": "Package Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_PackedOrderItemOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Marketplace SKU of the packed order item.",
            "type": "string"
          },
          "line_key": {
            "description": "Client-supplied key of the order line this item belongs to; null when the line has no key.",
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "description": "Quantity of this item packed into the package.",
            "type": "integer"
          }
        },
        "required": [
          "sku",
          "line_key",
          "quantity"
        ],
        "title": "Packed Order Item Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_PackingLabelOutput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of the label. One of: shipmonk_pack_list_order_level, shipmonk_pack_list_carton_level, retailer_packing_slip_order_level, shipmonk_carton_label, shipmonk_pallet_label, gs1_label, shipmonk_gs1, customized_carton_labels, custom_pack_list_order_level, special_instructions.",
            "type": "string"
          },
          "identifier": {
            "description": "Identifier (e.g. barcode value) printed on the label; null when none.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "type",
          "identifier"
        ],
        "title": "Packing Label Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_PalletOutput": {
        "type": "object",
        "properties": {
          "number": {
            "description": "Sequential number of the pallet within the shipment.",
            "type": "integer"
          },
          "weight": {
            "description": "Weight of the pallet; null when unknown.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Measurement_Output_WeightOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "dimensions": {
            "description": "Dimensions of the pallet; null when unknown.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Measurement_Output_DimensionsOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "labels": {
            "description": "Labels (e.g. pallet or GS1 labels) attached to the pallet.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_PackingLabelOutput"
            }
          }
        },
        "required": [
          "number",
          "weight",
          "dimensions",
          "labels"
        ],
        "title": "Pallet Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_RoutingOutput": {
        "type": "object",
        "properties": {
          "routing_key": {
            "description": "Client-supplied routing key for the shipment; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "routing_key"
        ],
        "title": "Routing Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_SerialNumberItemOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "SKU of the product the serial number belongs to.",
            "type": "string"
          },
          "serial_number": {
            "description": "Serial number scanned for the product unit.",
            "type": "string"
          }
        },
        "required": [
          "sku",
          "serial_number"
        ],
        "title": "Serial Number Item Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_SerialNumbersOutput": {
        "type": "object",
        "properties": {
          "line_key": {
            "description": "Client-supplied key of the order line these serial numbers belong to; null when the line has no key.",
            "type": [
              "string",
              "null"
            ]
          },
          "serial_numbers": {
            "description": "Serial numbers scanned for the products on this line.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_SerialNumberItemOutput"
            }
          }
        },
        "required": [
          "line_key",
          "serial_numbers"
        ],
        "title": "Serial Numbers Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipFromAddressOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Full name of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "description": "Company name of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "street1": {
            "description": "First line of the sender street address; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "street2": {
            "description": "Second line of the sender street address; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "description": "State, province or region of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "description": "City of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "zip": {
            "description": "Postal or ZIP code of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "description": "Phone number of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "description": "Email address of the sender; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "residential": {
            "description": "Whether the sender address is residential.",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "company",
          "street1",
          "street2",
          "state",
          "city",
          "zip",
          "country_code",
          "phone",
          "email",
          "residential"
        ],
        "title": "Ship From Address Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipToAddressOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Full name of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "company": {
            "description": "Company name of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "street1": {
            "description": "First line of the recipient street address; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "street2": {
            "description": "Second line of the recipient street address; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "description": "State, province or region of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "description": "City of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "zip": {
            "description": "Postal or ZIP code of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "phone": {
            "description": "Phone number of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "description": "Email address of the recipient; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "residential": {
            "description": "Whether the recipient address is residential.",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "company",
          "street1",
          "street2",
          "state",
          "city",
          "zip",
          "country_code",
          "phone",
          "email",
          "residential"
        ],
        "title": "Ship To Address Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationExtraDataOutput": {
        "type": "object",
        "properties": {
          "label": {
            "description": "Type of the extra data entry.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Enum_ShipmentNotificationExtraDataType"
          },
          "value": {
            "description": "Value associated with the label.",
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "title": "Shipment Notification Extra Data Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationItemWithProductLotOutput": {
        "type": "object",
        "properties": {
          "line_key": {
            "description": "Client-supplied key identifying this order line; null when the line has no key.",
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "description": "Ordered quantity of this line. Deprecated alias of ordered_quantity, kept for backwards compatibility.",
            "type": "integer"
          },
          "ordered_quantity": {
            "description": "Quantity of this line that was ordered.",
            "type": "integer"
          },
          "sku": {
            "description": "SKU of the ordered product or bundle on this line.",
            "type": "string"
          },
          "name": {
            "description": "Human-readable name of the product; null when unavailable.",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "description": "How the line was added to the order.",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderItemSource"
          },
          "products": {
            "description": "Products allocated to fulfill this line, including bundle components, each with its lot data.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationProductLotOutput"
            }
          },
          "fulfilled_quantity": {
            "description": "Quantity of this line that was actually fulfilled and shipped.",
            "type": "integer"
          }
        },
        "required": [
          "line_key",
          "quantity",
          "ordered_quantity",
          "sku",
          "name",
          "source",
          "products",
          "fulfilled_quantity"
        ],
        "title": "Shipment Notification Item With Product Lot Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationLotOutput": {
        "type": "object",
        "properties": {
          "number": {
            "description": "Lot or batch number; null when the product has no lot number.",
            "type": [
              "string",
              "null"
            ]
          },
          "expiration_date": {
            "description": "Expiration date of the lot in ISO 8601 format (YYYY-MM-DD); null when the lot does not expire or is unknown.",
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          }
        },
        "required": [
          "number",
          "expiration_date"
        ],
        "title": "Shipment Notification Lot Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationOutput": {
        "type": "object",
        "properties": {
          "order_key": {
            "description": "Client-supplied order key (external order identifier) of the shipped order.",
            "type": "string"
          },
          "parent_order_key": {
            "description": "Key of the parent order when this order is part of a split or partial shipment; null for standalone orders.",
            "type": [
              "string",
              "null"
            ]
          },
          "order_number": {
            "description": "ShipMonk internal order number of the shipped order.",
            "type": "string"
          },
          "warehouse": {
            "description": "Code of the warehouse that fulfilled and shipped the order.",
            "type": "string"
          },
          "items": {
            "description": "Order line items included in the shipment, each with the product lots allocated to fulfill it.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationItemWithProductLotOutput"
            }
          },
          "store_id": {
            "description": "Identifier of the store (sales channel or integration) the order belongs to.",
            "type": "string"
          },
          "carrier": {
            "description": "Name of the shipping carrier (tracking company) used for the shipment. For standard shipments it is one value from the list. In cases involving custom labels or freight shipments, the field may contain values outside of this list.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_ShippingConnector_ValueObject_PublicApiCarrierIdentifier"
              },
              {
                "type": "string"
              }
            ]
          },
          "service": {
            "description": "Carrier service level used for the shipment (e.g. Ground, Express); null when not applicable.",
            "type": [
              "string",
              "null"
            ]
          },
          "master_tracking_number": {
            "description": "Primary tracking number of the shipment.",
            "type": "string"
          },
          "tracking_link": {
            "description": "ShipMonk tracking page URL for the shipment; null when unavailable.",
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_shipping_cost": {
            "description": "Estimated shipping cost of the shipment in the account currency; null when not calculated.",
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "custom_data": {
            "description": "Arbitrary name and value pairs supplied by the client integration on the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_CustomDataOutput"
            }
          },
          "carrier_tracking_url": {
            "description": "Tracking page URL hosted by the carrier for the shipment; null when unavailable.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_alpha_code": {
            "description": "Carrier SCAC (Standard Carrier Alpha Code); null when unknown.",
            "type": [
              "string",
              "null"
            ]
          },
          "carrier_trans_method_code": {
            "description": "Carrier transportation method code describing the mode of transport; null when not provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "bill_of_lading_number": {
            "description": "Bill of Lading (BOL) number for the shipment; null when not applicable.",
            "type": [
              "string",
              "null"
            ]
          },
          "master_bill_of_lading_number": {
            "description": "Master Bill of Lading (MBOL) number grouping multiple bills of lading; null when not applicable.",
            "type": [
              "string",
              "null"
            ]
          },
          "load_number": {
            "description": "Freight load number assigned to the shipment; null for non-freight shipments.",
            "type": [
              "string",
              "null"
            ]
          },
          "authorization_number": {
            "description": "Routing or freight authorization number for the shipment; null when none was assigned.",
            "type": [
              "string",
              "null"
            ]
          },
          "order_parts": {
            "description": "Main order together with any partial orders it was split into.",
            "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_OrderPartsOutput"
          },
          "serial_numbers": {
            "description": "Serial numbers captured during fulfillment, grouped per order line.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_SerialNumbersOutput"
            }
          },
          "order_size": {
            "description": "Size category of the order. One of: unknown, regular, oversized_item, large, extra_large.",
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_OrderSize"
          },
          "extra_data": {
            "description": "Additional carrier and shipment metadata as label and value pairs.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationExtraDataOutput"
            }
          },
          "routing": {
            "description": "Routing information for the shipment; null when the order has no routing.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_RoutingOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "ordered_at": {
            "description": "Time the order was placed. Returned as an ISO 8601 string for most stores, or as a structured date object for selected legacy integrations.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_DateTimeOutput"
              },
              {
                "type": "string"
              }
            ]
          },
          "shipped_at": {
            "description": "Time the order shipped. Returned as an ISO 8601 string for most stores, or as a structured date object for selected legacy integrations.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_DateTimeOutput"
              },
              {
                "type": "string"
              }
            ]
          },
          "packages": {
            "description": "Packages (boxes) that make up the shipment.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_PackageOutput"
            }
          },
          "pallets": {
            "description": "Pallets consolidating the shipment packages; empty when the shipment is not palletized.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_PalletOutput"
            }
          },
          "ship_from": {
            "description": "Origin (sender) address of the shipment; null when not provided.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipFromAddressOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "ship_to": {
            "description": "Destination (recipient) address of the shipment.",
            "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipToAddressOutput"
          }
        },
        "required": [
          "order_key",
          "parent_order_key",
          "order_number",
          "warehouse",
          "items",
          "store_id",
          "carrier",
          "service",
          "master_tracking_number",
          "tracking_link",
          "estimated_shipping_cost",
          "custom_data",
          "carrier_tracking_url",
          "carrier_alpha_code",
          "carrier_trans_method_code",
          "bill_of_lading_number",
          "master_bill_of_lading_number",
          "load_number",
          "authorization_number",
          "order_parts",
          "serial_numbers",
          "order_size",
          "extra_data",
          "routing",
          "ordered_at",
          "shipped_at",
          "packages",
          "pallets",
          "ship_from",
          "ship_to"
        ],
        "title": "Shipment Notification Output"
      },
      "ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationProductLotOutput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "SKU of the product allocated to fulfill the line.",
            "type": "string"
          },
          "quantity": {
            "description": "Allocated quantity of this product. Deprecated alias of ordered_quantity, kept for backwards compatibility.",
            "type": "integer"
          },
          "ordered_quantity": {
            "description": "Quantity of this product allocated to the line.",
            "type": "integer"
          },
          "lot": {
            "description": "Lot the product was picked from; null when no lot control applies.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationLotOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "other_potential_lots": {
            "description": "Additional lots that could fulfill this product when the primary lot is insufficient.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationLotOutput"
            }
          }
        },
        "required": [
          "sku",
          "quantity",
          "ordered_quantity",
          "lot",
          "other_potential_lots"
        ],
        "title": "Shipment Notification Product Lot Output"
      },
      "ShipMonk_OMS_Order_Enum_Embroidery_EmbroideryType": {
        "type": [
          "string"
        ],
        "enum": [
          "logo",
          "text",
          "text_with_logo",
          "logo_identifier",
          "text_with_symbol"
        ],
        "title": "Embroidery Type"
      },
      "ShipMonk_OMS_Order_Enum_OrderType": {
        "type": [
          "string"
        ],
        "enum": [
          "direct_to_consumer",
          "retail",
          "amazon",
          "transfer",
          "removal_liquidation",
          "disposal",
          "bonded_inventory_clearance",
          "work_order"
        ],
        "title": "Order Type"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiCartonOutput": {
        "type": "object",
        "properties": {
          "carton_key": {
            "description": "Client-supplied unique key identifying this carton within the receiving; referenced by receiving_lines[].carton_key.",
            "type": "string"
          },
          "pallet_key": {
            "description": "Key of the pallet (from pallets[].pallet_key) on which this carton is placed, or null if the carton is not on a pallet.",
            "type": [
              "string",
              "null"
            ]
          },
          "identifiers": {
            "description": "Packaging identifiers attached to this carton (e.g. SSCC barcodes).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiLpnOutput"
            }
          }
        },
        "required": [
          "carton_key",
          "pallet_key",
          "identifiers"
        ],
        "title": "Carton Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiLpnOutput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of identifier. Allowed values: SSCC (Serial Shipping Container Code, a GS1 18-digit logistics barcode).",
            "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_Enum_LpnType"
          },
          "value": {
            "description": "The identifier value, formatted according to the rules of the chosen type (e.g. 18 digits for SSCC).",
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "title": "Lpn Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiPalletOutput": {
        "type": "object",
        "properties": {
          "pallet_key": {
            "description": "Client-supplied unique key identifying this pallet within the receiving; referenced by cartons[].pallet_key and receiving_lines[].loose_units_pallet_key.",
            "type": "string"
          },
          "identifiers": {
            "description": "Packaging identifiers attached to this pallet (e.g. SSCC barcodes).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiLpnOutput"
            }
          }
        },
        "required": [
          "pallet_key",
          "identifiers"
        ],
        "title": "Pallet Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingAttributeOutput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Attribute key agreed with ShipMonk for your account.",
            "type": "string"
          },
          "value": {
            "description": "Value of the attribute identified by the sibling `name`, returned as the text it was submitted with.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Receiving Attribute Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingItemOutput": {
        "type": "object",
        "properties": {
          "product": {
            "description": "The product identified by this receiving item.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemProductPublicApiOutput"
          },
          "expected_quantity": {
            "description": "Total number of units of this product expected to be received.",
            "type": "integer"
          },
          "received_quantity": {
            "description": "Total number of units of this product received so far across all batches.",
            "type": "integer"
          },
          "receiving_details": {
            "description": "Per-batch breakdown of received units for this product, including lot information and timestamps.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_PublicApiReceivingItemDetailsOutput"
            }
          }
        },
        "required": [
          "product",
          "expected_quantity",
          "received_quantity",
          "receiving_details"
        ],
        "title": "Receiving Item Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingLineOutput": {
        "type": "object",
        "properties": {
          "line_key": {
            "description": "Client-supplied unique key identifying this line within the receiving, or null if none was provided at creation.",
            "type": [
              "string",
              "null"
            ]
          },
          "product": {
            "description": "The product on this receiving line.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemProductPublicApiOutput"
          },
          "expected_quantity": {
            "description": "Number of units expected on this line.",
            "type": "integer"
          },
          "received_quantity": {
            "description": "Number of units received on this line so far.",
            "type": "integer"
          },
          "carton_key": {
            "description": "Key of the carton (from cartons[].carton_key) on which these units are packed, or null if the units are loose on a pallet. Exactly one of carton_key or loose_units_pallet_key is non-null when the packing hierarchy is used.",
            "type": [
              "string",
              "null"
            ]
          },
          "loose_units_pallet_key": {
            "description": "Key of the pallet (from pallets[].pallet_key) on which these loose units are placed without a carton, or null if the units are packed in a carton. Exactly one of carton_key or loose_units_pallet_key is non-null when the packing hierarchy is used.",
            "type": [
              "string",
              "null"
            ]
          },
          "lot": {
            "description": "Lot/batch tracking data for the units on this line, or null if no lot is tracked.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemLotPublicApiOutput"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "line_key",
          "product",
          "expected_quantity",
          "received_quantity",
          "carton_key",
          "loose_units_pallet_key",
          "lot"
        ],
        "title": "Receiving Line Output"
      },
      "ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Server-assigned numeric identifier of the receiving. Use this value to reference the receiving in subsequent API calls.",
            "type": "integer"
          },
          "warehouse": {
            "description": "Code of the warehouse where the goods are being received.",
            "type": "string"
          },
          "receiving_key": {
            "description": "Client-supplied reference (e.g. purchase order number) for the receiving, or null if none was provided at creation.",
            "type": [
              "string",
              "null"
            ]
          },
          "asn": {
            "description": "Advance Shipping Notice (ASN) number, a supplier-provided identifier for the incoming shipment.",
            "type": "string"
          },
          "bol_number": {
            "description": "Bill of Lading (BOL) number from the carrier transport document, or null if not provided.",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mrn": {
            "description": "Movement Reference Number (MRN) of the customs declaration, required for UK-destined receivings before receiving can start. 18 characters, or null if not provided.",
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "supplier_name": {
            "description": "Name of the supplier sending the goods.",
            "type": "string"
          },
          "handling_unit_type": {
            "description": "Type of handling units used to ship the goods.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_WarehouseReceiving_Enum_WarehouseReceivingPacking"
          },
          "handling_unit_quantity": {
            "description": "Total number of handling units (as specified by handling_unit_type) in the shipment.",
            "type": "integer"
          },
          "estimated_delivery": {
            "description": "Estimated date when the shipment is expected to arrive at the warehouse, in ISO 8601 format (YYYY-MM-DD).",
            "type": "string"
          },
          "description": {
            "description": "Free-form notes about the receiving, or null if none were provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "Current status of the receiving: awaiting (created, shipment not yet arrived), arrived (shipment received at the warehouse but not yet processed), in_progress (goods being unloaded and counted), received (processing complete).",
            "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_Enum_PublicApiReceivingStatus"
          },
          "created_at": {
            "description": "Timestamp when the receiving record was created, in ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "description": "Timestamp when the receiving record was last modified, in ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          },
          "arrived_at": {
            "description": "Timestamp when the shipment physically arrived at the warehouse, in ISO 8601 format. Null until arrival.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "received_at": {
            "description": "Timestamp when all goods finished being received and counted, in ISO 8601 format. Null until processing is complete.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "items": {
            "description": "Expected and received quantities aggregated per product across the entire receiving.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingItemOutput"
            }
          },
          "receiving_lines": {
            "description": "Itemized receiving lines, each linking a product (with optional lot data) to a specific carton or pallet in the packing hierarchy.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingLineOutput"
            }
          },
          "custom_data": {
            "description": "Arbitrary name/value pairs supplied by client integrations and attached to the receiving.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_CommonBundle_ApiResource_IntegrationDataOutput"
            }
          },
          "attributes": {
            "description": "Attributes attached to the receiving. Only keys agreed with ShipMonk for the account are accepted on create and update.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingAttributeOutput"
            }
          },
          "cartons": {
            "description": "Cartons declared on the receiving. Each receiving_lines entry with a non-null carton_key references one of these by carton_key.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiCartonOutput"
            }
          },
          "pallets": {
            "description": "Pallets declared on the receiving. Each carton or loose-units line may reference one of these by pallet_key.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiPalletOutput"
            }
          }
        },
        "required": [
          "id",
          "warehouse",
          "receiving_key",
          "asn",
          "bol_number",
          "mrn",
          "supplier_name",
          "handling_unit_type",
          "handling_unit_quantity",
          "estimated_delivery",
          "description",
          "status",
          "created_at",
          "updated_at",
          "arrived_at",
          "received_at",
          "items",
          "receiving_lines",
          "custom_data",
          "attributes",
          "cartons",
          "pallets"
        ],
        "title": "Receiving Output"
      },
      "ShipMonk_OMS_Receiving_Enum_LpnType": {
        "type": [
          "string"
        ],
        "enum": [
          "SSCC"
        ],
        "title": "Lpn Type"
      },
      "ShipMonk_OMS_Receiving_Enum_PublicApiReceivingStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "awaiting",
          "arrived",
          "in_progress",
          "received"
        ],
        "title": "Receiving Status"
      },
      "ShipMonk_OMS_RequiredLabels_Enum_PackingLabelType": {
        "type": [
          "string"
        ],
        "enum": [
          "shipmonk_pack_list_order_level",
          "shipmonk_pack_list_carton_level",
          "retailer_packing_slip_order_level",
          "shipmonk_carton_label",
          "shipmonk_pallet_label",
          "gs1_label",
          "shipmonk_gs1",
          "customized_carton_labels",
          "liquid_iv_packing_list",
          "custom_pack_list_order_level",
          "special_instructions"
        ],
        "title": "Packing Label Type"
      },
      "ShipMonk_OMS_RequiredLabels_Enum_RequiredLabelDataSource": {
        "type": [
          "string"
        ],
        "enum": [
          "internal",
          "third-party-after-shipment-notification"
        ],
        "title": "Required Label Data Source"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderAdditionalDocumentInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Human-readable name of the document, shown in reports and to warehouse staff.",
            "type": "string",
            "maxLength": 255
          },
          "url": {
            "description": "Publicly accessible URL of the PDF document to print and enclose with the shipment.",
            "type": "string",
            "maxLength": 2048
          }
        },
        "required": [
          "name",
          "url"
        ],
        "title": "Create Or Update Order Additional Document Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderAttributeInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Key identifying the custom attribute; must be unique within the order's attributes array.",
            "type": "string",
            "maxLength": 255
          },
          "value": {
            "description": "Value paired with the attribute `name` on the order.",
            "type": "string",
            "maxLength": 255
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Create Or Update Order Attribute Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderB2BAttributeInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Name (key) of the B2B attribute; should be unique within the item's b2b_attributes list.",
            "type": "string",
            "maxLength": 255
          },
          "value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "string"
              },
              {
                "type": "array"
              }
            ]
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Create Or Update Order B2 B Attribute Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderCartonLabelInput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of label requested to be applied to the carton (e.g., gs1, shipmonk_gs1, customized_carton_labels). Values include order- and carton-level pack lists, retailer packing slips, carton/pallet labels, GS1 labels, and customized or special-instruction labels. Incorrect configuration may result in retailer chargebacks. The ShipMonk B2B team will provide label configuration guidance during the retailer setup process (https://support.shipmonk.com/s/article/New-Retailer-Setup).",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Enum_CartonLabelType",
            "default": "custom"
          },
          "name": {
            "description": "Human-readable name of the carton label template; used to identify the label in reports.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "url": {
            "description": "Publicly accessible URL of the carton label PDF; required when `type` is `custom`.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 2048,
            "default": null
          },
          "shipping_data_required": {
            "description": "If true, carrier tracking and address data must be merged onto the carton label before printing.",
            "type": "boolean",
            "default": false
          },
          "approved_shipment_id_number_required": {
            "description": "If true, the retailer's approved shipment ID (e.g., an ASN number returned after the shipment notice) must be printed on the label. The order will not ship until the ID is supplied.",
            "type": "boolean",
            "default": false
          },
          "data_source": {
            "description": "Where the label data comes from. Allowed values: `internal` (data already supplied with the order), `third-party-after-shipment-notification` (label is rendered after a third party returns data following the shipment notification).",
            "$ref": "#/components/schemas/ShipMonk_OMS_RequiredLabels_Enum_RequiredLabelDataSource",
            "default": "internal"
          }
        },
        "required": [],
        "title": "Create Or Update Order Carton Label Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderCustomDataInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Key (name) of the custom data entry; should be unique within the item's custom_data list.",
            "type": "string",
            "minLength": 2,
            "maxLength": 255
          },
          "value": {
            "description": "Value stored under the corresponding custom_data name.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Create Or Update Order Custom Data Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderInput": {
        "type": "object",
        "properties": {
          "store_id": {
            "description": "Identifier of the store the order belongs to.",
            "type": "integer",
            "minimum": 1,
            "example": 123456
          },
          "order_number": {
            "description": "Customer-facing order identifier (e.g. shown on the packing slip). Uniqueness is recommended but not enforced. Immutable after creation.",
            "type": "string",
            "maxLength": 255,
            "example": "Order-123"
          },
          "order_key": {
            "description": "Stable external identifier used to associate this order on subsequent updates; must be unique per order and acts as the upsert key.",
            "type": "string",
            "maxLength": 255,
            "example": "327b5abd-017a-4504-a50d-54f1cea80269"
          },
          "items": {
            "description": "Line items to be fulfilled in the order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemInput"
            }
          },
          "ship_to": {
            "description": "Recipient's shipping destination address; used to generate the shipping label and select the carrier service.",
            "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderShipToInput"
          },
          "requested_shipping_service": {
            "description": "The shipping option passed from your integration (e.g., Free Shipping, 2-Day Shipping); must match a Shipping Mapping configured in ShipMonk — if no match is found, the order will be placed in Action Required and cannot be fulfilled until resolved.",
            "type": "string",
            "maxLength": 255
          },
          "ordered_at": {
            "description": "ISO 8601 timestamp when the order was originally placed in the source system.",
            "type": "string",
            "format": "date-time",
            "example": "2025-07-24 14:53:00"
          },
          "order_status": {
            "description": "Current status of the order. Allowed values: `unfulfilled` (ready to be picked/shipped), `fulfilled` (already shipped externally), `cancelled` (will not be shipped), `onHold` (paused, will not be picked until released).",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Type_OrderSyncOrderStatus"
          },
          "attributes": {
            "description": "Free-form key/value pairs stored on the order, used for custom development.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderAttributeInput"
            },
            "default": []
          },
          "trading_partner": {
            "description": "Name of the retailer or trading partner for B2B/EDI orders; required to apply the partner's routing and labeling rules.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "order_type": {
            "description": "Classifies how the order should be fulfilled. If not specified, defaults to direct_to_consumer. Orders intended for retail or B2B distribution must use retail to meet compliance requirements.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderOrderType"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "customer_email": {
            "description": "Recipient email address forwarded to the carrier for delivery notifications.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "shipping_paid": {
            "description": "Amount the customer paid for shipping, expressed in the order's `currency_code`. Informational only; does not affect rated postage.",
            "type": [
              "number",
              "null"
            ],
            "format": "double",
            "minimum": 0,
            "default": null
          },
          "taxes_paid": {
            "description": "Tax amount the customer paid, in the order's `currency_code`. Informational only; used for customs paperwork on international shipments.",
            "type": [
              "number",
              "null"
            ],
            "format": "double",
            "minimum": 0,
            "default": null
          },
          "currency_code": {
            "description": "ISO 4217 three-letter currency code for `shipping_paid`, `taxes_paid`, and item prices (e.g., 'USD', 'EUR').",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 3,
            "default": "USD"
          },
          "references": {
            "description": "External identifiers (e.g., PO number, marketplace order ID) linking this order back to upstream systems; informational only.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_AccountApiBundle_Input_Order_OrderReferenceInput"
            },
            "default": []
          },
          "customer_notes": {
            "description": "Notes provided by the buyer (e.g., delivery preferences). Stored on creation only; subsequent updates are ignored once a value is set.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 65535,
            "default": null
          },
          "internal_notes": {
            "description": "Notes for internal warehouse staff, not shown to the buyer. Stored on creation only; ignored on subsequent updates.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 65535,
            "default": null
          },
          "warehouse": {
            "description": "Identifier of the warehouse that must fulfill this order (e.g., 'FL1', 'CA1'). Use the codes provided by your account manager; omit to let the system pick the best warehouse.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null,
            "example": "PA1"
          },
          "gift_message": {
            "description": "Message printed on a gift note included with the shipment. Stored on creation only; ignored on subsequent updates.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 65535,
            "default": null
          },
          "gift_from": {
            "description": "Sender name printed on the gift note alongside `gift_message`.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "custom_data": {
            "description": "Free-form key/value metadata stored on the order; not interpreted by fulfillment logic and returned as-is in order reads.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderCustomDataInput"
            },
            "default": []
          },
          "b2b_attributes": {
            "description": "B2B-specific attributes (e.g., ASN, routing instructions) used when fulfilling retailer orders. Contact api@shipmonk.com to enable B2B order processing on your account before sending these.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderB2BAttributeInput"
            },
            "default": []
          },
          "submit_at": {
            "description": "ISO 8601 timestamp at which the order should be released to the warehouse for picking. Until this time the order is held; omit to release immediately.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null,
            "example": "2025-07-24 14:53:00"
          },
          "special_requirements": {
            "description": "Optional bundle of special handling requirements (packing slip, carton labels, custom dates, pre-generated shipping label, etc.) to apply to this order.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderSpecialRequirementsInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "recipient_tax_id": {
            "description": "Recipient's tax identifier (e.g., VAT, EORI) required for customs clearance on international shipments.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderTaxIdInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "minimum_shelf_life_days": {
            "description": "Minimum remaining shelf life (in days from the ship date) required for every lot-controlled item in the order; omit to accept any shelf life.",
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1,
            "default": null
          }
        },
        "required": [
          "store_id",
          "order_number",
          "order_key",
          "items",
          "ship_to",
          "requested_shipping_service",
          "ordered_at",
          "order_status"
        ],
        "title": "Create Or Update Order Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemB2BAttributeInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Name (key) of the B2B attribute; should be unique within the item's b2b_attributes list.",
            "type": "string",
            "maxLength": 255
          },
          "value": {
            "description": "Value of the B2B attribute identified by the sibling `name` (free-form string).",
            "type": "string",
            "maxLength": 255
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "Create Or Update Order Item B2 B Attribute Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemEmbroiderySpecialInstructionInput": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Fulfillment_OrderBundle_Input_Enum_OrderItemSpecialInstructionType"
          },
          "values": {
            "description": "List of embroidery instruction values",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemEmbroiderySpecialInstructionValueInput"
            }
          }
        },
        "required": [
          "type",
          "values"
        ],
        "title": "Create Or Update Order Item Embroidery Special Instruction Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemEmbroiderySpecialInstructionValueInput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of embroidery",
            "$ref": "#/components/schemas/ShipMonk_OMS_Order_Enum_Embroidery_EmbroideryType"
          },
          "location": {
            "description": "Location on the product where the embroidery should be placed",
            "type": "string",
            "maxLength": 255
          },
          "color": {
            "description": "Thread color for the embroidery",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "font": {
            "description": "Font for embroidered text",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "line1": {
            "description": "First line of embroidery text",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "default": null
          },
          "line2": {
            "description": "Second line of embroidery text",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "default": null
          },
          "line3": {
            "description": "Third line of embroidery text",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "default": null
          },
          "logo_url": {
            "description": "URL of the logo file to be embroidered on the product",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 2048,
            "default": null
          },
          "file_identifier": {
            "description": "File identifier for the embroidery design",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "symbol": {
            "description": "Symbol identifier for embroidery designs",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "symbol_color": {
            "description": "Color of the embroidered symbol",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          }
        },
        "required": [
          "type",
          "location"
        ],
        "title": "Create Or Update Order Item Embroidery Special Instruction Value Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemInput": {
        "type": "object",
        "properties": {
          "sku": {
            "description": "Marketplace Stock Keeping Unit (SKU) of the product; must match an existing product.",
            "type": "string",
            "maxLength": 255
          },
          "quantity": {
            "description": "Number of units of this SKU on the order line; must be a positive integer.",
            "type": "integer",
            "minimum": 0,
            "maximum": 999999
          },
          "line_key": {
            "description": "Optional external key identifying this line item, useful for matching updates against the source system's line.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "name": {
            "description": "Display name for the product on this line. Optional; immutable after the item is created.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 65536,
            "pattern": "\\S",
            "default": null
          },
          "price": {
            "description": "Per-unit price of the product in the order currency. Optional; sending it again on a subsequent upsert updates the stored price. Omitting it leaves the stored price unchanged, so the price cannot be cleared through this endpoint.",
            "type": [
              "number",
              "null"
            ],
            "format": "double",
            "default": null
          },
          "packing_group": {
            "description": "Optional group identifier; items sharing the same packing_group.key should be packed together in the same parcel.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemPackingGroupInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "custom_data": {
            "description": "Optional custom name/value pairs attached to the line item for integration metadata. Immutable after the item is created.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderCustomDataInput"
            },
            "default": []
          },
          "b2b_attributes": {
            "description": "Optional B2B-specific attributes (e.g. retailer compliance fields) attached to the line. Attributes present in the payload are created or updated; attributes not present are left untouched and are never removed.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemB2BAttributeInput"
            },
            "default": []
          },
          "special_instructions": {
            "description": "Special handling instructions to apply to this line item; omit when none are needed.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemSpecialInstructionInput"
            },
            "default": []
          },
          "image_url": {
            "description": "Publicly accessible image URL of the product. Set on creation only; updates are ignored once the item exists.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 2048,
            "default": null
          },
          "lot_requirements": {
            "description": "Lot/expiration constraints that pickers must honor for this item. Can only be set before the order is submitted to the warehouse; later updates are ignored.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemLotRequirementsInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "sku",
          "quantity"
        ],
        "title": "Create Or Update Order Item Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemLotControlInput": {
        "type": "object",
        "properties": {
          "lot_number": {
            "description": "Specific lot number that must be picked for this item; omit to allow any lot.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "expiration_date": {
            "description": "Required expiration date of the picked lot in ISO 8601 (YYYY-MM-DD) format; omit to allow any expiration.",
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "default": null,
            "example": "2025-07-24"
          }
        },
        "required": [],
        "title": "Create Or Update Order Item Lot Control Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemLotRequirementsInput": {
        "type": "object",
        "properties": {
          "minimum_shelf_life_days": {
            "description": "Minimum remaining shelf life (in days from the ship date) that any allocated lot must have. Omit to accept any shelf life.",
            "type": [
              "integer",
              "null"
            ],
            "minimum": 1,
            "default": null
          },
          "lot_controls": {
            "description": "Specific lots (by lot number and/or expiration date) that must be used to fulfill this item. Leave empty to allow any qualifying lot.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemLotControlInput"
            },
            "default": []
          }
        },
        "required": [],
        "title": "Create Or Update Order Item Lot Requirements Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemPackingGroupInput": {
        "type": "object",
        "properties": {
          "key": {
            "description": "Stable key identifying the packing group; items with the same key are packed together.",
            "type": "string",
            "maxLength": 255
          },
          "name": {
            "description": "Optional human-readable name for the packing group, shown to warehouse staff.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          }
        },
        "required": [
          "key"
        ],
        "title": "Create Or Update Order Item Packing Group Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemSpecialInstructionInput": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemEmbroiderySpecialInstructionInput"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "embroidery": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderItemEmbroiderySpecialInstructionInput"
          }
        },
        "title": "Create Or Update Order Item Special Instruction Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderOrderType": {
        "type": [
          "string"
        ],
        "enum": [
          "direct_to_consumer",
          "retail",
          "amazon",
          "transfer",
          "removal_liquidation",
          "disposal",
          "bonded_inventory_clearance",
          "work_order"
        ],
        "title": "Create Or Update Order Order Type"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderPackingSlipInput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Packing slip template to use. Allowed values: `retailer` (retailer-supplied template stored with ShipMonk).",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Enum_OrderLevelPackingSlipType",
            "default": "retailer"
          },
          "name": {
            "description": "Human-readable name of the packing slip template; used to identify it in reports.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "shipping_data_required": {
            "description": "If true, carrier tracking and address data must be merged onto the packing slip before printing.",
            "type": "boolean",
            "default": false
          },
          "approved_shipment_id_number_required": {
            "description": "If true, the retailer's approved shipment ID (e.g., an ASN number returned after the shipment notice) must be printed on the label. The order will not ship until the ID is supplied.",
            "type": "boolean",
            "default": false
          }
        },
        "required": [],
        "title": "Create Or Update Order Packing Slip Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderShipToInput": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Full name of the recipient as it should appear on the shipping label.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "company": {
            "description": "Recipient's company name as it should appear on the shipping label; omit for residential deliveries.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "street1": {
            "description": "First line of the recipient's street address (e.g., house number and street).",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "street2": {
            "description": "Second line of the recipient's street address (apartment, suite, or unit); omit if not applicable.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "state": {
            "description": "State, province, or region; use the ISO 3166-2 subdivision code where one exists (e.g., 'CA' for California).",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "city": {
            "description": "City of the recipient's address.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "zip": {
            "description": "Postal or ZIP code of the recipient's address.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "country_code": {
            "description": "ISO 3166-1 alpha-2 country code of the recipient (e.g., 'US', 'GB').",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          },
          "phone": {
            "description": "Recipient phone number in E.164 format; used by carriers for delivery contact.",
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "default": null
          }
        },
        "required": [],
        "title": "Create Or Update Order Ship To Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderShippingLabelInput": {
        "type": "object",
        "properties": {
          "url": {
            "description": "Publicly accessible URL pointing to the pre-generated shipping label PDF or PNG.",
            "type": "string",
            "maxLength": 2048
          }
        },
        "required": [
          "url"
        ],
        "title": "Create Or Update Order Shipping Label Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderSpecialRequirementsInput": {
        "type": "object",
        "properties": {
          "special_instruction": {
            "description": "Free-form instructions shown to warehouse staff while processing the order (e.g., 'fragile, do not stack').",
            "type": [
              "string",
              "null"
            ],
            "pattern": "\\S",
            "default": null
          },
          "pack_list_required": {
            "description": "If true, a packing list document is enclosed in the shipment. Stored on creation only; ignored on subsequent updates.",
            "type": "boolean",
            "default": false
          },
          "carton_labels": {
            "description": "Carton labels (e.g., GS1, retailer-customized) that must be printed and affixed to each carton during packing.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderCartonLabelInput"
            },
            "default": []
          },
          "order_level_packing_slip": {
            "description": "Configuration of the packing slip generated for the whole order (as opposed to per-carton); omit to use the account default.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderPackingSlipInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "shipping_label": {
            "description": "Pre-generated shipping label supplied by the merchant; when present, the warehouse uses this label instead of buying postage.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderShippingLabelInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "additional_documents": {
            "description": "Extra documents (e.g., commercial invoices, MSDS, certificates) that must be printed and enclosed with the shipment.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderAdditionalDocumentInput"
            },
            "default": []
          },
          "shipping_date": {
            "description": "Requested ship-by date (single date or range, in ISO 8601). Warehouse will attempt to ship within this window.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_AccountApiBundle_Input_Order_CreateUpdateFulfillmentRequirements_SpecialRequirementsDatesInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "delivery_date": {
            "description": "Required delivery date (single date or range, in ISO 8601). Warehouse picks a service expected to arrive within this window.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_AccountApiBundle_Input_Order_CreateUpdateFulfillmentRequirements_SpecialRequirementsDatesInput"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "cancel_date": {
            "description": "ISO 8601 date after which the order should be auto-cancelled if it has not yet shipped; omit to disable auto-cancellation.",
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "default": null,
            "example": "2025-07-24"
          },
          "fulfillment_strategy": {
            "description": "Fulfillment strategy for this order: standard (default D2C pick-and-pack), drop_ship (retailer D2C via EDI, requires Retailer Setup), cross_dock (pre-packed manufacturer orders received in bulk and routed outbound without pick-and-pack).",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_OrderBundle_Enum_FulfillmentStrategy"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [],
        "title": "Create Or Update Order Special Requirements Input"
      },
      "ShipMonk_PublicApi_Order_OrderCreateOrUpdate_CreateOrUpdateOrderTaxIdInput": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Type of tax identifier supplied in `value`. Allowed: `VAT`, `IOSS`, `TIN`, `EIN`, `EORI`, `ARN`, `RFC`, `CPF`, `CNPJ`, `PCCC`, `VOEC`.",
            "$ref": "#/components/schemas/Fulfillment_UserBundle_Enum_TaxIdType"
          },
          "value": {
            "description": "The tax identifier string itself, formatted according to the rules of the chosen `type` and `issuing_country_id`.",
            "type": "string",
            "maxLength": 255
          },
          "issuing_country_id": {
            "description": "ISO 3166-1 alpha-2 country code of the authority that issued the tax ID (e.g., 'DE' for a German VAT number).",
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          }
        },
        "required": [
          "type",
          "value",
          "issuing_country_id"
        ],
        "title": "Create Or Update Order Tax Id Input"
      },
      "ShipMonk_PublicApi_Order_Output_PublicApiOrderSource": {
        "type": [
          "string"
        ],
        "enum": [
          "manual",
          "imported",
          "manually_imported",
          "merged",
          "cloned",
          "splitted",
          "oversize_split",
          "wholesale_split",
          "package_forwarding_split",
          "claim_reship",
          "automated_bonded_clearance_order"
        ],
        "title": "Order Source"
      },
      "ShipMonk_PublicApi_Order_Output_PublicApiRelatedOrderOutput": {
        "type": "object",
        "properties": {
          "order_key": {
            "description": "order_key of the related order. It is unique only within its store, so pass it together with store_id when looking the order up.",
            "type": "string"
          },
          "order_number": {
            "description": "order_number of the related order.",
            "type": "string"
          },
          "store_id": {
            "description": "ID of the store the related order belongs to. Use it as storeId when fetching the related order by order_key.",
            "type": "integer"
          }
        },
        "required": [
          "order_key",
          "order_number",
          "store_id"
        ],
        "title": "Related Order Output"
      },
      "ShipMonk_ShippingConnector_ValueObject_PublicApiCarrierIdentifier": {
        "type": [
          "string"
        ],
        "enum": [
          "CanadaPost",
          "Cirro",
          "DHL eCommerce",
          "DHL Express",
          "DPD",
          "FedEx",
          "Global-E",
          "gofoexpress",
          "International Bridge",
          "OnTrac",
          "Passport",
          "Royal Mail",
          "ShipMonk",
          "SpeedX",
          "UPS",
          "USPS"
        ],
        "title": "Carrier Identifier"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_PublicApiReturnItemOutput": {
        "type": "object",
        "properties": {
          "receiving_details": {
            "description": "Per-unit receiving records for this return item, capturing lot, quantities, timestamps, and final disposition.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnItemDetailsPublicApiOutput"
            }
          },
          "desired_action": {
            "description": "Requested handling for the returned item: received_back_into_inventory or damaged_not_resellable.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnItemStatus"
          },
          "product": {
            "description": "The product identified by this receiving item.",
            "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemProductPublicApiOutput"
          },
          "expected_quantity": {
            "description": "Total number of units of this product expected to be received.",
            "type": "integer"
          },
          "received_quantity": {
            "description": "Total number of units of this product received so far across all batches.",
            "type": "integer"
          }
        },
        "required": [
          "receiving_details",
          "desired_action",
          "product",
          "expected_quantity",
          "received_quantity"
        ],
        "title": "Return Item Output"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnEmptyPackageReportPublicApiOutput": {
        "type": "object",
        "properties": {
          "unit_uuid": {
            "description": "UUID of the return unit that records the empty package.",
            "type": "string"
          },
          "reported_at": {
            "description": "Timestamp when the warehouse reported the package as empty and disposed of it, in ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "unit_uuid",
          "reported_at"
        ],
        "title": "Return Empty Package Report Output"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnFraudulentUnitPublicApiOutput": {
        "type": "object",
        "properties": {
          "unit_uuid": {
            "description": "UUID of the return unit the warehouse reported.",
            "type": "string"
          },
          "classification": {
            "description": "What the warehouse found instead of the returned product: fraudulent (an item that is not the merchant's, such as a counterfeit or a substitute) or unknown_merchant_item (an item that may be the merchant's but was not part of this return).",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_FlaggedUnitReportClassification"
          },
          "final_disposition": {
            "description": "Final disposition of the reported unit; reported units are disposed of.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnItemFinalDisposition"
          },
          "received_at": {
            "description": "Timestamp when the warehouse finished reporting the unit at the grading station, in ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "unit_uuid",
          "classification",
          "final_disposition",
          "received_at"
        ],
        "title": "Return Fraudulent Unit Output"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnItemDetailsPublicApiOutput": {
        "type": "object",
        "properties": {
          "lot": {
            "description": "Lot/batch tracking data for the units in this receipt entry, or null if no lot is tracked.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_Crate_ReturnOrReceivingItemLotPublicApiOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_quantity": {
            "description": "Number of units expected in this lot/batch entry.",
            "type": "integer"
          },
          "received_quantity": {
            "description": "Number of units actually received in this lot/batch entry.",
            "type": "integer"
          },
          "received_at": {
            "description": "Timestamp when this batch was received at the warehouse, in ISO 8601 format. Null if not yet received.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "type_scoped_id": {
            "description": "Identifier unique within records of the same type; combine with the type field for a globally unique reference. Null for return_unit records, which are identified by their unit_uuid.",
            "type": [
              "integer",
              "null"
            ]
          },
          "type": {
            "description": "Type of the receiving detail record: receive (standard warehouse receipt) or return_unit (unit processed by the returns flow, including historical units sourced from the legacy Optoro flow).",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnItemDetailsType"
          },
          "unit_uuid": {
            "description": "UUID of the return unit this record originates from; only present for unit-sourced records.",
            "type": [
              "string",
              "null"
            ]
          },
          "final_disposition": {
            "description": "Final disposition decided for the unit after inspection (e.g. restocked, damaged); null while disposition is pending.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnItemFinalDisposition"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "lot",
          "expected_quantity",
          "received_quantity",
          "received_at",
          "type_scoped_id",
          "type",
          "unit_uuid",
          "final_disposition"
        ],
        "title": "Return Item Details Output"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnItemDetailsType": {
        "type": [
          "string"
        ],
        "enum": [
          "receive",
          "return_unit"
        ],
        "title": "Return Item Details Type"
      },
      "ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnOutput": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique numeric identifier of the return.",
            "type": "integer"
          },
          "warehouse": {
            "description": "Code of the warehouse handling this return.",
            "type": "string"
          },
          "order_key": {
            "description": "External order key of the original order this return relates to; null when no linked order exists.",
            "type": [
              "string",
              "null"
            ]
          },
          "store_id": {
            "description": "Identifier of the store the return belongs to; null if the return is not linked to a store.",
            "type": [
              "integer",
              "null"
            ]
          },
          "rma": {
            "description": "Return Merchandise Authorization (RMA) number identifying this return.",
            "type": "string"
          },
          "tracking_number": {
            "description": "Primary carrier tracking number of the return shipment; null if not yet known. Set to the most recently added of tracking_numbers.",
            "type": [
              "string",
              "null"
            ]
          },
          "tracking_numbers": {
            "description": "All carrier tracking numbers associated with the return shipment; empty when none are known.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "description": "Current processing status of the return: status_created, in_progress, en_route, returned, arrived, not_arrived, or grading_completed.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnStatus"
          },
          "return_reason": {
            "description": "Reason the return was initiated: exchange, changed_mind, undeliverable, unknown, or incorrect_product.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnReason"
          },
          "note": {
            "description": "Optional free-text note attached to the return; null when no note was provided.",
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "description": "ISO 8601 timestamp when the return record was created.",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "description": "ISO 8601 timestamp when the return record was last updated.",
            "type": "string",
            "format": "date-time"
          },
          "received_at": {
            "description": "ISO 8601 timestamp when the return was physically received at the warehouse; null until received.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "items": {
            "description": "Line items included in the return, each with expected and received quantities.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_PublicApiReturnItemOutput"
            }
          },
          "fraudulent_units": {
            "description": "Units the warehouse found in the return that the merchant never sent, such as a counterfeit or a substitute item, in the order they were reported; empty when nothing was reported. They are not part of items, because no return item describes them.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnFraudulentUnitPublicApiOutput"
            }
          },
          "empty_package_report": {
            "description": "Present when the warehouse reported that the return package arrived empty; null otherwise.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnEmptyPackageReportPublicApiOutput"
              },
              {
                "type": "null"
              }
            ]
          },
          "custom_data": {
            "description": "List of custom name/value pairs attached to the return by the source integration.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Fulfillment_CommonBundle_ApiResource_IntegrationDataOutput"
            }
          },
          "source": {
            "description": "System that originated this return record: shipmonk, loop, returnly, deposco, happy_returns_loop, or happy_returns.",
            "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Enum_ReturnEntitySource"
          }
        },
        "required": [
          "id",
          "warehouse",
          "order_key",
          "store_id",
          "rma",
          "tracking_number",
          "tracking_numbers",
          "status",
          "return_reason",
          "note",
          "created_at",
          "updated_at",
          "received_at",
          "items",
          "fraudulent_units",
          "empty_package_report",
          "custom_data",
          "source"
        ],
        "title": "Return Output"
      },
      "ShipMonk_Warehouse_Returns_Enum_FlaggedUnitReportClassification": {
        "type": [
          "string"
        ],
        "enum": [
          "fraudulent",
          "unknown_merchant_item"
        ],
        "title": "Flagged Unit Report Classification"
      },
      "ShipMonk_Warehouse_Returns_Enum_ReturnEntitySource": {
        "type": [
          "string"
        ],
        "enum": [
          "shipmonk",
          "loop",
          "returnly",
          "deposco",
          "happy_returns_loop",
          "happy_returns"
        ],
        "title": "Return Entity Source"
      },
      "ShipMonk_Warehouse_Returns_Enum_ReturnItemFinalDisposition": {
        "type": [
          "string"
        ],
        "enum": [
          "reworked",
          "returned_to_inventory",
          "return_to_merchant",
          "dispose",
          "donate",
          "other"
        ],
        "title": "Return Item Final Disposition"
      },
      "ShipMonk_Warehouse_Returns_Enum_ReturnItemStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "received_back_into_inventory",
          "damaged_not_resellable"
        ],
        "title": "Return Item Status"
      },
      "ShipMonk_Warehouse_Returns_Enum_ReturnReason": {
        "type": [
          "string"
        ],
        "enum": [
          "reason_exchange",
          "reason_changed_mind",
          "reason_undeliverable",
          "reason_unknown",
          "reason_incorrect_product"
        ],
        "title": "Return Reason"
      },
      "ShipMonk_Warehouse_Returns_Enum_ReturnStatus": {
        "type": [
          "string"
        ],
        "enum": [
          "status_created",
          "in_progress",
          "en_route",
          "returned",
          "arrived",
          "not_arrived",
          "grading_completed"
        ],
        "title": "Return Status"
      },
      "ShipMonk_Warehouse_WarehouseReceiving_Enum_WarehouseReceivingPacking": {
        "type": [
          "string"
        ],
        "enum": [
          "small_boxes",
          "single_sku_pallet",
          "mixed_sku_pallet",
          "container_20_palletized",
          "container_20_non_palletized",
          "container_40_palletized",
          "container_40_non_palletized",
          "container_53_palletized",
          "container_53_non_palletized",
          "unknown"
        ],
        "title": "Warehouse Receiving Packing"
      },
      "ShipMonk_WmsConnector_Order_ValueObject_WmsType": {
        "type": [
          "string"
        ],
        "enum": [
          "shipmonk",
          "deposco",
          "merchant_facility"
        ],
        "title": "Wms Type"
      }
    },
    "securitySchemes": {
      "api_key_header_Api-Key": {
        "type": "apiKey",
        "in": "header",
        "name": "Api-Key"
      }
    }
  },
  "tags": [
    {
      "name": "Webhooks",
      "description": "ShipMonk supports webhooks to help you stay updated in real time as key events happen in our system. Currently, we provide webhooks for the following areas:\n- Orders\n- Returns\n- Receivings\n\n## Webhooks Setup\nYou have full flexibility in configuring which webhooks to subscribe to. You can:\n- Use a single URL to receive all events, or\n- Define separate endpoints for individual webhook types.\n\nWebhook setup can be done by your ShipMonk support team.\n\n## Store filter\nBy default, a webhook subscription delivers events for all stores in your account. If you operate multiple stores, a subscription can be restricted to one or more specific stores (store filter), so you only receive events for those stores.\n\n## Security\nAll webhooks support HTTP Basic Authentication. If you provide a username and password, ShipMonk will include these credentials in the webhook request. This allows you to restrict access and ensure only ShipMonk can call your endpoints.\n\n## Data Integrity\nEach webhook request sent by ShipMonk includes an `X-Sm-Signature` header. This header allows you to verify that the request genuinely originated from ShipMonk and was not tampered with.\n\nTo enable this verification, you must provide ShipMonk with a secret key (a random string of your choice). For every webhook, ShipMonk uses this secret key to generate a HMAC using the SHA-512 algorithm (HMAC-SHA512), applied to the raw payload. The resulting signature is included in the `X-Sm-Signature` header.\n\nTo validate the authenticity of a webhook:\n- Retrieve the raw payload from the HTTP POST request.\n- Using the same secret key and the HMAC-SHA512 algorithm, generate a signature from the payload.\n- Compare your generated signature to the value in the X-Sm-Signature header.\n- If they match, you can safely trust the request.\n\nThis mechanism ensures both the integrity and authenticity of the webhook payload.\n\n## Accepting the webhook\n\nWebhook requests are sent as HTTP POST requests. To acknowledge successful processing, your endpoint must respond with an HTTP status code in the 2xx range.\n- If a 2xx response is returned, the webhook is considered successfully delivered.\n- For any other response, ShipMonk will retry the webhook delivery up to 8 times using an exponential backoff schedule. The delay starts at 30 seconds and doubles after each attempt — 30s, 1m, 2m, 4m, 8m, 16m, 32m, 60m (capped at 60 minutes) — spanning roughly 2 hours before delivery is abandoned."
    },
    {
      "name": "Orders",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://api.shipmonk.com",
      "description": "Once you finish testing on Sandbox, our support team generates you Production API keys and store_id for production. Just write us at api@shipmonk.com and we will handle it."
    },
    {
      "url": "https://sandbox.shipmonk.dev",
      "description": "Sandbox environment is used for preproduction testing. It allows you to play around without worries of corrupting the data. We highly recommend using the Sandbox environment and run tests before going to Production. To get access to the Sandbox, please contact the ShipMonk support team. Note: Sandbox access can only be requested by customers with signed contracts."
    }
  ],
  "webhooks": {
    "orderShipmentNotification": {
      "post": {
        "operationId": "webhook-order-shipment-notification",
        "summary": "Shipment Notification",
        "tags": [
          "Webhooks"
        ],
        "description": "Once the order is fulfilled, ShipMonk can notify the 3rd party software of such event via webhook or Marketplace via direct integration. The payload consists of tracking and packing information.\n\nTriggers for sending notification are:\n- once regular order is packed\n- batch is completed\n- wholesale order is picked up\n\nNotification is sent with delay which can be set per each store in ShipMonk OMS.\n\nYour endpoint URL can be set up in the store detail in ShipMonk OMS. Please note that Basic Auth (username and password) is supported only.\n\nWe expect the status code 200 in response. When we receive another status call, we will be re-trying it for the next 3 days.\n\nTo test it, place the order and submit it for fulfilment. You have to make sure the inventory is available and order is all right first (it has set the shipping service and the address is valid). In production the order is shipped by our warehouse employees, while for testing you will have to call our `complete-order` endpoint.\n\nEdge cases:\n- If the order is big and cannot fit into a single packaging, we will send out multiple packages. Each package has its own tracking number inside of packages array.\n- If the inventory of any SKU is not available, it is possible to manually split the order in the ShipMonk app and then we send Shipment Notification per each shipment.\n- If the order is split and send out within multiple days, we send the Shipment Notification just once (when the first package is sent out)\n\n`fulfilled_quantity` vs `ordered_quantity`: The value of these two fields might differ in case of partially fulfilled Orders. If a Product consists of `1x Item A` and `1x Item B`, when the customer orders 2 Products and the Shipment contains 1 piece of Item A and 2 pieces of Item B, then `ordered_quantity = 2` but `fulfilled_quantity = 1`.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShipMonk_OMS_Notification_ApiResource_ShipmentNotificationOutput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 2xx status to indicate that the data was received successfully"
          },
          "default": {
            "description": "For a 4xx status, ShipMonk will retry the webhook delivery for the next 3 days."
          }
        }
      }
    },
    "orderStatusChange": {
      "post": {
        "operationId": "webhook-order-status-change",
        "summary": "Order status change",
        "tags": [
          "Webhooks"
        ],
        "description": "As an order progresses from initial import to full fulfillment, it transitions through multiple statuses. ShipMonk can notify external systems of these status changes via webhooks.\n\n## Supported Order Webhooks\nCurrently ShipMonk supports these order-related webhooks.\n\n- Order being back-ordered (`processing_status`: `back-order`)\n- Order is unable to submit (`processing_status`: `unable_to_submit`)\n- Order is queued to submit (`processing_status`: `queued_to_submit`)\n- Order is subscription - Order (`processing_status`: `subscription`)\n- Order is package-forwarding - Order (`processing_status`: `package_forwarding`)\n- Order is put to on hold (`processing_status`: `on_hold`)\n- Order is submitted (`processing_status`: `submitted`)\n- Order is being picked (`processing_status`: `pick_in_progress`)\n- Order is being packed (`processing_status`: `pack_in_progress`)\n- Order is packed (`processing_status`: `packed`)\n- Order is awaiting pickup (`processing_status`: `awaiting_pick_up`)\n- Order is awaiting carrier processing (`processing_status`: `awaiting_carrier_processing`)\n- Order is en route (`processing_status`: `en_route`)\n- Order is delivered (`processing_status`: `delivered`)\n- Order is undeliverable (`processing_status`: `undeliverable`)\n- Order is shipped, but it’s untrackable (`processing_status`: `shipped_untrackable`)\n- Order cancellation requested (`processing_status`: `cancellation_requested`)\n- Order is cancelled (`processing_status`: `cancelled`)\n\nAll order-related webhooks are closely tied to the order’s processing-status. Each webhook is triggered by a change in the processing-status, reflecting key moments in the order lifecycle.\n\n## Payload Structure (JSON Schema)\nAll order-related webhooks share the same JSON schema, which matches the response of our GET endpoint for retrieving a single order.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Fulfillment_IntegrationsBundle_ApiResource_Output_Order_PublicApiOrderDetailOutput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 2xx status to indicate that the data was received successfully"
          },
          "default": {
            "description": "For a 4xx status, ShipMonk will retry the webhook delivery up to 100 times, with a 5-minute delay between attempts."
          }
        }
      }
    },
    "returnStatusChange": {
      "post": {
        "operationId": "webhook-return-status-change",
        "summary": "Return status change",
        "tags": [
          "Webhooks"
        ],
        "description": "## Supported Return Webhooks\nAll return-related webhooks are closely tied to the status of the return. Each webhook is triggered by a specific status transition, marking important stages in the return process.\n\n- Return created (`status`: `status_created`)\n- Return in progress (`status`: `in_progress`)\n- Return en route (`status`: `en_route`)\n- Return returned (`status`: `returned`)\n\n## Payload Structure (JSON Schema)\nThe payload of each return-related webhook matches the structure of a single return object as returned by the `GET /v1/integrations/returns-list` endpoint. While the `GET /v1/integrations/returns-list` endpoint responds with an array of return objects (`returns-list` field), each webhook delivers the full data of one return in the same format. This allows for easy reuse of the return model across both API responses and webhook events.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShipMonk_Warehouse_Returns_Api_Output_PublicApi_ReturnOutput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 2xx status to indicate that the data was received successfully"
          },
          "default": {
            "description": "For a 4xx status, ShipMonk will retry the webhook delivery up to 100 times, with a 5-minute delay between attempts."
          }
        }
      }
    },
    "receivingStatusChange": {
      "post": {
        "operationId": "webhook-receiving-status-change",
        "summary": "Receiving status change",
        "tags": [
          "Webhooks"
        ],
        "description": "## Supported Receiving Webhooks\nAll receiving-related webhooks are closely tied to the status of the receiving. Each webhook is triggered when the receiving transitions to a specific `status`, reflecting key milestones in the receiving process.\n\n- Receiving awaiting (`status`: `awaiting`)\n- Receiving in progress (`status`: `in_progress`)\n- Receiving arrived (`status`: `arrived`)\n- Receiving received (`status`: `received`)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShipMonk_OMS_Receiving_ApiResource_PublicApiReceivingOutput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return a 2xx status to indicate that the data was received successfully"
          },
          "default": {
            "description": "For a 4xx status, ShipMonk will retry the webhook delivery up to 100 times, with a 5-minute delay between attempts."
          }
        }
      }
    }
  }
}
```