{
  "securityDefinitions": {
    "api_key": {
      "type": "apiKey",
      "name": "api_key",
      "in": "header"
    }
  },
  "swagger": "2.0",
  "info": {
    "title": "ShipperOne API",
    "description": "The ShipperOne REST API exposes the operations needed to integrate fulfillment and inventory workflows with external systems. The schema documented here is the complete public surface of the ShipperOne OMS.\n\nAll requests require a Bearer token issued by ShipperOne support — see the Authentication page for details.",
    "version": "1",
    "contact": {
      "name": "ShipperOne",
      "url": "https://shipper.one"
    }
  },
  "host": "YOUR_SHIPPER_BASE_URL",
  "basePath": "/rest/{store_code}",
  "schemes": [
    "https"
  ],
  "tags": [
    {
      "name": "warehouseManagementV1",
      "description": ""
    },
    {
      "name": "fulfillmentOrderManagementV1",
      "description": ""
    }
  ],
  "paths": {
    "/V1/warehouses": {
      "get": {
        "tags": [
          "warehouseManagementV1"
        ],
        "description": "List the warehouse locations available to the tenant. Used to discover warehouse codes for routing fulfillment orders and syncing stock.",
        "operationId": "GetV1Warehouses",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-warehouse-data-response-warehouse-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "List warehouses"
      }
    },
    "/V1/stockItems": {
      "post": {
        "tags": [
          "warehouseManagementV1"
        ],
        "description": "Sync stock quantities for a batch of items by SKU and warehouse code. Used by ERPs and fulfillment partners to keep ShipperOne inventory in sync.",
        "operationId": "PostV1StockItems",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1StockItemsBody",
            "in": "body",
            "schema": {
              "required": [
                "stock_items"
              ],
              "properties": {
                "stock_items": {
                  "type": "array",
                  "items": {
                    "$ref": "#/definitions/shipper-warehouse-data-param-stock-item-interface"
                  }
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-warehouse-data-param-stock-item-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Sync stock items"
      }
    },
    "/V1/fulfillmentOrders/pending_accept": {
      "get": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Poll for fulfillment orders that have been routed to your warehouse and are awaiting an accept or reject decision.",
        "operationId": "GetV1FulfillmentOrdersPending_accept",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "required": false
          },
          {
            "name": "date",
            "in": "query",
            "type": "string",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Pending accept queue"
      }
    },
    "/V1/fulfillmentOrders/pending_allocation": {
      "get": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Poll for fulfillment orders that have been accepted by a warehouse and are awaiting stock allocation by the ERP.",
        "operationId": "GetV1FulfillmentOrdersPending_allocation",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "required": false
          },
          {
            "name": "date",
            "in": "query",
            "type": "string",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Pending allocation queue"
      }
    },
    "/V1/fulfillmentOrders/pending_shipment": {
      "get": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Poll for fulfillment orders that are allocated and ready to be picked, packed, and dispatched.",
        "operationId": "GetV1FulfillmentOrdersPending_shipment",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "required": false
          },
          {
            "name": "date",
            "in": "query",
            "type": "string",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Pending shipment queue"
      }
    },
    "/V1/fulfillmentOrders/pending_invoice": {
      "get": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Poll for fulfillment orders that have been shipped and are ready to be invoiced by the ERP.",
        "operationId": "GetV1FulfillmentOrdersPending_invoice",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "required": false
          },
          {
            "name": "date",
            "in": "query",
            "type": "string",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
              }
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Pending invoice queue"
      }
    },
    "/V1/fulfillmentOrder/accept": {
      "post": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Confirm that the warehouse can fulfil a fulfillment order. Supports full and partial accept via the items[] payload.",
        "operationId": "PostV1FulfillmentOrderAccept",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1FulfillmentOrderAcceptBody",
            "in": "body",
            "schema": {
              "required": [
                "order"
              ],
              "properties": {
                "order": {
                  "$ref": "#/definitions/shipper-fulfillment-order-data-param-accept-request-interface"
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Accept fulfillment order"
      }
    },
    "/V1/fulfillmentOrder/reject": {
      "post": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Reject items on a fulfillment order — used when stock is unavailable or damaged. ShipperOne may reroute rejected items to another location.",
        "operationId": "PostV1FulfillmentOrderReject",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1FulfillmentOrderRejectBody",
            "in": "body",
            "schema": {
              "required": [
                "order"
              ],
              "properties": {
                "order": {
                  "$ref": "#/definitions/shipper-fulfillment-order-data-param-reject-request-interface"
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Reject fulfillment order"
      }
    },
    "/V1/fulfillmentOrder/allocate": {
      "post": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Confirm stock allocation for a fulfillment order. Moves the order into the shipping stage.",
        "operationId": "PostV1FulfillmentOrderAllocate",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1FulfillmentOrderAllocateBody",
            "in": "body",
            "schema": {
              "required": [
                "allocation"
              ],
              "properties": {
                "allocation": {
                  "$ref": "#/definitions/shipper-fulfillment-order-data-param-allocation-request-interface"
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Allocate stock"
      }
    },
    "/V1/fulfillmentOrder/ship": {
      "post": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Report that items have been picked, packed, and dispatched with a carrier. Supports partial shipments with carrier and tracking information.",
        "operationId": "PostV1FulfillmentOrderShip",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1FulfillmentOrderShipBody",
            "in": "body",
            "schema": {
              "required": [
                "shipment"
              ],
              "properties": {
                "shipment": {
                  "$ref": "#/definitions/shipper-fulfillment-order-data-param-shipment-interface"
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Ship fulfillment order"
      }
    },
    "/V1/fulfillmentOrder/invoice": {
      "post": {
        "tags": [
          "fulfillmentOrderManagementV1"
        ],
        "description": "Issue a fiscal invoice for the items shipped on a fulfillment order. Validates items[] and shipping_amount_incl_tax against current state.",
        "operationId": "PostV1FulfillmentOrderInvoice",
        "consumes": [
          "application/json",
          "application/xml"
        ],
        "produces": [
          "application/json",
          "application/xml"
        ],
        "parameters": [
          {
            "name": "PostV1FulfillmentOrderInvoiceBody",
            "in": "body",
            "schema": {
              "required": [
                "invoice"
              ],
              "properties": {
                "invoice": {
                  "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-request-interface"
                }
              },
              "type": "object",
              "xml": {
                "name": "request"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200 Success.",
            "schema": {
              "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-interface"
            }
          },
          "401": {
            "description": "401 Unauthorized",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "500": {
            "description": "Internal Server error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "400": {
            "description": "400 Bad Request",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          },
          "default": {
            "description": "Unexpected error",
            "schema": {
              "$ref": "#/definitions/error-response"
            }
          }
        },
        "summary": "Invoice fulfillment order"
      }
    }
  },
  "definitions": {
    "error-response": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Error message"
        },
        "errors": {
          "$ref": "#/definitions/error-errors"
        },
        "code": {
          "type": "integer",
          "description": "Error code"
        },
        "parameters": {
          "$ref": "#/definitions/error-parameters"
        },
        "trace": {
          "type": "string",
          "description": "Stack trace"
        }
      },
      "required": [
        "message"
      ]
    },
    "error-errors": {
      "type": "array",
      "description": "Errors list",
      "items": {
        "$ref": "#/definitions/error-errors-item"
      }
    },
    "error-errors-item": {
      "type": "object",
      "description": "Error details",
      "properties": {
        "message": {
          "type": "string",
          "description": "Error message"
        },
        "parameters": {
          "$ref": "#/definitions/error-parameters"
        }
      }
    },
    "error-parameters": {
      "type": "array",
      "description": "Error parameters list",
      "items": {
        "$ref": "#/definitions/error-parameters-item"
      }
    },
    "error-parameters-item": {
      "type": "object",
      "description": "Error parameters item",
      "properties": {
        "resources": {
          "type": "string",
          "description": "ACL resource"
        },
        "fieldName": {
          "type": "string",
          "description": "Missing or invalid field name"
        },
        "fieldValue": {
          "type": "string",
          "description": "Incorrect field value"
        }
      }
    },
    "shipper-warehouse-data-response-warehouse-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "name": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "code",
        "active"
      ]
    },
    "shipper-warehouse-data-param-stock-item-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "warehouse_code": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "qty": {
          "type": "integer"
        }
      },
      "required": [
        "warehouse_code",
        "sku",
        "qty"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "id": {
          "type": "integer"
        },
        "fulfillment_order_number": {
          "type": "string"
        },
        "sales_order_id": {
          "type": "integer"
        },
        "sales_order_number": {
          "type": "string"
        },
        "warehouse_code": {
          "type": "string"
        },
        "customer_firstname": {
          "type": "string"
        },
        "customer_lastname": {
          "type": "string"
        },
        "customer_email": {
          "type": "string"
        },
        "customer_is_guest": {
          "type": "boolean"
        },
        "shipping_amount": {
          "type": "number"
        },
        "shipping_amount_excl_tax": {
          "type": "number"
        },
        "shipping_tax_amount": {
          "type": "number"
        },
        "shipping_tax_rate": {
          "type": "number"
        },
        "grand_total": {
          "type": "number"
        },
        "grand_total_excl_tax": {
          "type": "number"
        },
        "tax_amount": {
          "type": "number"
        },
        "cod_amount": {
          "type": "number"
        },
        "package_value": {
          "type": "number"
        },
        "status": {
          "type": "string"
        },
        "allocated_at": {
          "type": "string"
        },
        "shipped_at": {
          "type": "string"
        },
        "invoiced_at": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "payment": {
          "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-payment-interface"
        },
        "shipping": {
          "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-shipping-interface"
        },
        "billing_address": {
          "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-address-interface"
        },
        "shipping_address": {
          "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-address-interface"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-item-interface"
          }
        }
      },
      "required": [
        "id",
        "fulfillment_order_number",
        "sales_order_id",
        "sales_order_number",
        "warehouse_code",
        "customer_firstname",
        "customer_lastname",
        "customer_email",
        "customer_is_guest",
        "status",
        "created_at",
        "updated_at",
        "payment",
        "shipping",
        "billing_address",
        "shipping_address",
        "items"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-payment-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "method_code": {
          "type": "string"
        },
        "method_name": {
          "type": "string"
        }
      },
      "required": [
        "method_code",
        "method_name"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-shipping-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "method_code": {
          "type": "string"
        },
        "method_name": {
          "type": "string"
        },
        "internal_method_code": {
          "type": "string"
        },
        "customer_note": {
          "type": "string"
        },
        "pickup_point_delivery": {
          "$ref": "#/definitions/shipper-fulfillment-order-data-response-fulfillment-order-shipping-pickup-point-interface"
        }
      },
      "required": [
        "method_code",
        "method_name",
        "internal_method_code"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-shipping-pickup-point-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "location_id": {
          "type": "string"
        },
        "location_name": {
          "type": "string"
        }
      },
      "required": [
        "location_id",
        "location_name"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-address-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "firstname": {
          "type": "string"
        },
        "lastname": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "country_id": {
          "type": "string"
        },
        "telephone": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "vat_id": {
          "type": "string"
        }
      },
      "required": [
        "firstname",
        "lastname",
        "email",
        "street",
        "city",
        "postcode",
        "region",
        "country_id",
        "telephone",
        "company",
        "vat_id"
      ]
    },
    "shipper-fulfillment-order-data-response-fulfillment-order-item-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "id": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "warehouse_code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "sku": {
          "type": "string"
        },
        "qty": {
          "type": "integer"
        },
        "price": {
          "type": "number"
        },
        "price_excl_tax": {
          "type": "number"
        },
        "tax_amount": {
          "type": "number"
        },
        "tax_rate": {
          "type": "number"
        },
        "total_price": {
          "type": "number"
        },
        "total_price_excl_tax": {
          "type": "number"
        },
        "total_tax_amount": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "status",
        "warehouse_code",
        "name",
        "sku",
        "qty"
      ]
    },
    "shipper-fulfillment-order-data-param-accept-request-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-item-interface"
          }
        }
      },
      "required": [
        "order_id",
        "items"
      ]
    },
    "shipper-fulfillment-order-data-param-invoice-item-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "item_id": {
          "type": "integer"
        }
      },
      "required": [
        "item_id"
      ]
    },
    "shipper-fulfillment-order-data-param-reject-request-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-item-interface"
          }
        }
      },
      "required": [
        "order_id",
        "items"
      ]
    },
    "shipper-fulfillment-order-data-param-allocation-request-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-item-interface"
          }
        }
      },
      "required": [
        "order_id",
        "items"
      ]
    },
    "shipper-fulfillment-order-data-param-shipment-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-item-interface"
          }
        },
        "carrier_tracking_number": {
          "type": "string"
        },
        "carrier_title": {
          "type": "string"
        }
      },
      "required": [
        "order_id",
        "items"
      ]
    },
    "shipper-fulfillment-order-data-param-invoice-request-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/shipper-fulfillment-order-data-param-invoice-item-interface"
          }
        },
        "shipping_amount_incl_tax": {
          "type": "number"
        },
        "invoice_number": {
          "type": "string"
        },
        "invoice_time": {
          "type": "string"
        },
        "additional_data": {
          "type": "string"
        },
        "doc_binary": {
          "type": "string"
        }
      },
      "required": [
        "order_id",
        "items",
        "invoice_number"
      ]
    },
    "shipper-fulfillment-order-deprecated-data-param-invoice-interface": {
      "type": "object",
      "description": "",
      "properties": {
        "invoice_number": {
          "type": "string"
        },
        "invoice_time": {
          "type": "string"
        },
        "additional_data": {
          "type": "string"
        },
        "doc_binary": {
          "type": "string"
        },
        "doc_type": {
          "type": "string"
        }
      },
      "required": [
        "invoice_number"
      ]
    }
  }
}
