{
  "openapi": "3.0.1",
  "info": {
    "title": "Norce Commerce Order v1.1 service",
    "description": "The Orders namespace has Entities and Operations used for orders and other related Entities such as DeliveryNotes and Invoices. This namespace has nothing to do with the Checkout process where orders are created, but is more related to order history shown on pages like MyPage and such. The Order history is mostly a snapshot view of the orders as they looked when they got created in Norce, unless process integrations exists where DeliveryNotes and Invoices are passed to Norce.",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://{slug}.api-se.playground.norce.tech/commerce",
      "description": "Playground",
      "variables": {
        "slug": {
          "default": "customer-slug",
          "description": "Replace with your slug."
        }
      }
    },
    {
      "url": "https://{slug}.api-se.stage.norce.tech/commerce",
      "description": "Stage",
      "variables": {
        "slug": {
          "default": "customer-slug",
          "description": "Replace with your slug."
        }
      }
    },
    {
      "url": "https://{slug}.api-se.norce.tech/commerce",
      "description": "Production",
      "variables": {
        "slug": {
          "default": "customer-slug",
          "description": "Replace with your slug."
        }
      }
    }
  ],
  "security": [
    {
      "Bearer": [],
      "ApplicationId": []
    }
  ],
  "tags": [
    {
      "name": "DeliveryNotes",
      "description": "Contains endpoints for handling package and parcel information from a POS perspective."
    },
    {
      "name": "InfoTypes",
      "description": "Contains endpoints for viewing metadata for extended fields on the order and orderitems."
    },
    {
      "name": "Invoices",
      "description": "Contains endpoints for viewing invoice information on orders or baskets."
    },
    {
      "name": "Orders",
      "description": "Contains endpoints for viewing orders and it`s metadata."
    }
  ],
  "paths": {
    "/order/1.1/UpdateDeliveryNotePackage": {
      "post": {
        "tags": [
          "DeliveryNotes"
        ],
        "summary": "Update a delivery note package status",
        "description": "Updates a DeliveryNotePackage.",
        "parameters": [
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The DeliveryNotePackage to update. The DeliveryNotePackage must have and Id and Status defined or an exception will be raised.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeliveryNotePackage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/order/1.1/ListOrderInfoTypes": {
      "get": {
        "tags": [
          "InfoTypes"
        ],
        "summary": "List order info types",
        "description": "Lists the info type ids used in the info property of an order. Same fields are used in DeliveryNote and Invoice.",
        "parameters": [
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdValue"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListOrderItemInfoTypes": {
      "get": {
        "tags": [
          "InfoTypes"
        ],
        "summary": "List order item info types",
        "description": "Lists the info type ids used in info property of order items.",
        "parameters": [
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdValue"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/GetInvoice": {
      "get": {
        "tags": [
          "Invoices"
        ],
        "summary": "Get an invoice",
        "description": "Returns an Invoice by internal id. Returns null if the Invoice does not exist.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "The internal id of the invoice.",
            "style": "form",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/GetInvoiceByNo": {
      "get": {
        "tags": [
          "Invoices"
        ],
        "summary": "Get invoice by invoice number",
        "description": "Returns an Invoice by external invoice number. Returns null if the Invoice does not exist.",
        "parameters": [
          {
            "name": "invoiceNo",
            "in": "query",
            "description": "The external invoice number of the invoice.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Invoice"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListInvoices": {
      "get": {
        "tags": [
          "Invoices"
        ],
        "summary": "List invoices",
        "description": "Returns a paged invoice list for a specified orderId, customer or company.",
        "parameters": [
          {
            "name": "orderId",
            "in": "query",
            "description": "The internal order id for which invoices are fetched. Either this or a customerId, companyId must be specified.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "companyId",
            "in": "query",
            "description": "The internal company id for which invoices are fetched. Either this or a customerId, orderId must be specified.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "The internal customer id for which invoices are fetched. Either this or a companyId, orderId must be specified.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "(Optional) A from date used to filter the invoices. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "(Optional) A to date used to filter the invoices. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "query",
            "description": "(Optional) Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(Optional) Number of items to display per page. Mandatory if using pageNo.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoicePagedList"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListInvoicesByBasket": {
      "get": {
        "tags": [
          "Invoices"
        ],
        "summary": "List invoices by basket",
        "description": "Returns a paged invoice list for specified basket internal id",
        "parameters": [
          {
            "name": "basketId",
            "in": "query",
            "description": "The basket internal id for which invoices are fetched.",
            "style": "form",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvoicePagedList"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/GetOrderByNo": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Get order by external order number",
        "description": "Returns an Order by external order number. Return null if the Order does not exist.",
        "parameters": [
          {
            "name": "orderno",
            "in": "query",
            "description": "The external order number.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/GetOrderByBasket": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Get order by basket",
        "description": "Returns an Order by basket internal id. Returns null if the order does not exist.",
        "parameters": [
          {
            "name": "basketId",
            "in": "query",
            "description": "The basket internal id.",
            "style": "form",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListOrders3": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "List orders (v3)",
        "description": "Returns a paged order list. Note that this method returns another entity that ListOrders2. This is a more light weight version. Either of companyId, customerId, divisionCode, fromDate or toDate must be specified.",
        "parameters": [
          {
            "name": "companyId",
            "in": "query",
            "description": "The internal company id for which orders are fetched.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "The internal customer id for which orders are fetched.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusSeed",
            "in": "query",
            "description": "(Optional) A comma separated string of status ids to filter the orders.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "description": "(Optional) The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "query",
            "description": "(Optional) Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(Optional) Number of orders to display per page.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "divisionCode",
            "in": "query",
            "description": "The external division code for which orders are fetched.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderPagedList2"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListOrdersByEmail": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "List order by e-mail address",
        "description": "Returns a paged order list. Note that this method returns another entity that ListOrders2. This is a more light weight version. EmailSeed must be specified.",
        "parameters": [
          {
            "name": "emailSeed",
            "in": "query",
            "description": "A comma separated list of emails for which orders are fetched.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statusSeed",
            "in": "query",
            "description": "(Optional) A comma separated string of status ids to filter the orders.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "description": "(Optional) The source of the order as set when created. Used to filter the orders. Usually hardcoded in the web application to WEB.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "(Optional) A from date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "(Optional) A to date used to filter orders. Format: yyyy-mm-ddThh:mm:ss.nnn[z], example 2024-08-01T12:59:59.000Z",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNo",
            "in": "query",
            "description": "(Optional) Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "(Optional) Number of orders to display per page.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderPagedList2"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/SearchOrder": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "Search for order",
        "description": "Search for Orders by TrackingId, DeliveryNote or OrderNo.",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Tracking id, delivery note number or external order number.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          }
        }
      }
    },
    "/order/1.1/ListOrderStatuses": {
      "get": {
        "tags": [
          "Orders"
        ],
        "summary": "List order statuses",
        "description": "Lists the available order statuses.",
        "parameters": [
          {
            "name": "cultureCode",
            "in": "query",
            "description": "(Optional) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IdNameDescription"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CustomerData": {
        "type": "object",
        "properties": {
          "Company": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderCompany"
              }
            ],
            "nullable": true
          },
          "Customer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderCustomer"
              }
            ],
            "nullable": true
          },
          "Address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OrderAddress"
              }
            ],
            "nullable": true
          },
          "DropPointCode": {
            "type": "string",
            "description": "The external drop point code, if any. Only set for drop points.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about the Customers in the Order namespace. It has information about Customer, any Company and addresses."
      },
      "DeliveryNote": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal Id of the DeliveryNote.",
            "format": "int32",
            "nullable": true
          },
          "NoteNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external number of the DeliveryNote. Usually a number from the ERP system. MaxLength: 50",
            "nullable": true
          },
          "DeliveryDate": {
            "type": "string",
            "description": "The delivery date of the DeliveryNote.",
            "format": "date-time",
            "nullable": true
          },
          "NoteText": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Free text field of the DeliveryNote. MaxLength: 255",
            "nullable": true
          },
          "DeliveryMode": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The delivery mode of the items for the DeliveryNote. MaxLength: 50",
            "nullable": true
          },
          "OrderNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external order number of the Order related to the DeliveryNote. This usually comes from an ERP. MaxLength: 50",
            "nullable": true
          },
          "OrderDate": {
            "type": "string",
            "description": "The order date of the Order related to the DeliveryNote.",
            "format": "date-time",
            "nullable": true
          },
          "Culture": {
            "maxLength": 16,
            "minLength": 0,
            "type": "string",
            "description": "The culture code of the DeliveryNote. This is the culture code used when asking for DeliveryNotes, not the original. MaxLength: 16",
            "nullable": true
          },
          "YourReference": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Not used. MaxLength: 255",
            "nullable": true
          },
          "SellTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "BillTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "ShipTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "SmsNotificationNumber": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Not used. MaxLength: 50",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryNoteItem"
            },
            "description": "The items delivered.",
            "nullable": true
          },
          "Packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryNotePackage"
            },
            "description": "Package information for the DeliveryNote.",
            "nullable": true
          },
          "DivisionCode": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external store code for the delivering Store. MaxLength: 50",
            "nullable": true
          },
          "Status": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The status text of the DeliveryNote. See ListOrderStatuses for information about available statuses. MaxLength: 50",
            "nullable": true
          },
          "Info": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Info"
            },
            "description": "A list of infos used to keep application specific data on the deliveryNote.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about a DeliveryNote. DeliveryNotes are not created though the API and must be imported to Norce through Norce Connect API."
      },
      "DeliveryNoteItem": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the DeliveryNoteItem.",
            "format": "int32",
            "nullable": true
          },
          "RowNumber": {
            "type": "number",
            "description": "The row number of the DeliveryNoteItem.",
            "format": "decimal",
            "nullable": true
          },
          "ItemNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The PartNo of the DeliveryNoteItem. MaxLength: 50",
            "nullable": true
          },
          "ItemDescription": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The name of the DeliveryNoteItem. MaxLength: 255",
            "nullable": true
          },
          "QtyOrdered": {
            "type": "number",
            "description": "The 1uantity ordered. This is the total quantity ordered.",
            "format": "decimal",
            "nullable": true
          },
          "QtyDelivered": {
            "type": "number",
            "description": "The quantity delivered. This is the quantity delivered on this DeliverNoteItem.",
            "format": "decimal",
            "nullable": true
          },
          "QtyBackordered": {
            "type": "number",
            "description": "The quantity not delivered. This is the quantity still missing on this DeliverNoteItem.",
            "format": "decimal",
            "nullable": true
          },
          "Comment": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "Free text comment on the DeliverNoteItem. MaxLength: 255",
            "nullable": true
          },
          "TrackingCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tracking"
            },
            "description": "The external tracking code of the DeliveryNoteItem.",
            "nullable": true,
            "deprecated": true
          },
          "Status": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The status text of the DeliveryNoteItem. See ListOrderStatuses for information about available statuses. MaxLength: 50",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about the items on a DeliveryNote."
      },
      "DeliveryNotePackage": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the DeliveryNotePackage.",
            "format": "int32",
            "nullable": true
          },
          "ParcelNumber": {
            "type": "string",
            "description": "The external parcel number of the DeliveryNotePackage from the Speditor. Used to track parcels online.",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "description": "The status text of the DeliveryNotePackage. See ListOrderStatuses for information about available statuses.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about each package associated with a DeliveryNote."
      },
      "IdNameDescription": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal Id of the Entity.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The Name of the Entity.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The Description of the Entity.",
            "nullable": true
          },
          "ImageKey": {
            "type": "string",
            "description": "A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.",
            "format": "uuid",
            "nullable": true
          },
          "Code": {
            "type": "string",
            "description": "The Code of the Entity.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdValue": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal Id of the Entity. This Id might be different in different tiers such as Stage and Production. Use Code if hard coding is required.",
            "format": "int32",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "description": "The Value of the Entity.",
            "nullable": true
          },
          "Code": {
            "type": "string",
            "description": "The Code of the Entity, if existing. Use this value when hard coding is required.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "An Entity used where Id and Value is needed. Mostly used for lookup data."
      },
      "Info": {
        "type": "object",
        "properties": {
          "Code": {
            "type": "string",
            "description": "The external code of the Info.",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the Info.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the Info.",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "description": "The value of the Info.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information carrier entity. It is used on Orders, DeliveryNotes and Invoices. When setting up InfoTypes on Order use the same Code for Order/OrderItem as for Basket/BasketItem if you want them to be mapped. When creating orders, info-fields will be transferred from basket to order when there is a map with the same code."
      },
      "Invoice": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the Invoice.",
            "format": "int64",
            "nullable": true
          },
          "InvoiceNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external invoice number of the Invoice. Usually a number from the ERP system. MaxLength: 50",
            "nullable": true
          },
          "InvoiceDate": {
            "type": "string",
            "description": "The invoice date of the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "InvoiceDueDate": {
            "type": "string",
            "description": "The invoice due date of the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "InvoiceText": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "InvoiceText is taken from InvoiceMark in Norce. MaxLength: 255",
            "nullable": true
          },
          "OrderId": {
            "type": "integer",
            "description": "The internal id of the Order related to the Invoice.",
            "format": "int64",
            "nullable": true
          },
          "OrderNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external order number of the Order related to the Invoice. The order number usually comes from an ERP. MaxLength: 50",
            "nullable": true
          },
          "OrderDate": {
            "type": "string",
            "description": "The order date of the Order related to the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "Source": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The Source of the Invoice. 'WEB' is used for all invoices created through Norce. MaxLength: 255",
            "nullable": true
          },
          "DeliveryDate": {
            "type": "string",
            "description": "The delivery date of the DeliveryNote related to the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "DeliveryMethod": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The delivery method of the Order. MaxLength: 50",
            "nullable": true
          },
          "PaymentMethod": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The payment method of the Order. MaxLength: 50",
            "nullable": true
          },
          "BillTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "OrderFreight": {
            "type": "number",
            "description": "The total amount for freight on the Invoice.",
            "format": "decimal",
            "nullable": true
          },
          "InvoiceCharge": {
            "type": "number",
            "description": "The total amount for invoice charge on the Invoice.",
            "format": "decimal",
            "nullable": true
          },
          "InvoiceAmountExVat": {
            "type": "number",
            "description": "The total amount invoiced ex VAT.",
            "format": "decimal",
            "nullable": true
          },
          "VatAmount": {
            "type": "number",
            "description": "The total VAT amount invoiced.",
            "format": "decimal",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceItem"
            },
            "description": "The invoiced items.",
            "nullable": true
          },
          "Info": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Info"
            },
            "description": "A list of infos used to keep application specific data on the invoice. Not used for credit invoices.",
            "nullable": true
          },
          "InvoiceNoPsp": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50",
            "nullable": true
          },
          "CreditedInvoiceNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The credited invoice number. This is only used for credit invoices and this is the number of the original invoice being credited. MaxLength: 50",
            "nullable": true
          },
          "IsDebit": {
            "type": "boolean",
            "description": "Indicates if this is a debit invoice (true) or a credit invoice (false).",
            "nullable": true
          },
          "GroupByKey": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "GroupByKey can be used to group invoices. All individual invoices on one summary invoice will have this set to the same value. Normal non-summary invoices will have this value set to null. MaxLength: 50",
            "nullable": true
          },
          "Comment": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Free text comment on the Invoice. MaxLength: 250",
            "nullable": true
          },
          "InvoiceAmountIncVat": {
            "type": "number",
            "description": "The total amount invoiced inc VAT.",
            "format": "decimal",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about an Invoice. Invoices are not created through the API and must be imported to Norce through Norce Connect API."
      },
      "InvoiceItem": {
        "type": "object",
        "properties": {
          "RowNumber": {
            "type": "number",
            "description": "The row number of the item.",
            "format": "decimal",
            "nullable": true
          },
          "ItemNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The PartNo of the item. MaxLength: 50",
            "nullable": true
          },
          "ItemDescription": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The mame of the item. MaxLength: 255",
            "nullable": true
          },
          "Quantity": {
            "type": "number",
            "description": "The quantity invoiced. This is the quantity invoiced on this InvoiceItem.",
            "format": "decimal",
            "nullable": true
          },
          "UnitPrice": {
            "type": "number",
            "description": "The unit price of the item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "UnitDiscount": {
            "type": "number",
            "description": "The unit discount of the item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "RowAmount": {
            "type": "number",
            "description": "The total amount of the item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "RowAmountVat": {
            "type": "number",
            "description": "The total VAT of the item.",
            "format": "decimal",
            "nullable": true
          },
          "DeliveryDate": {
            "type": "string",
            "description": "The delivery date of the item.",
            "format": "date-time",
            "nullable": true
          },
          "VatRate": {
            "type": "number",
            "description": "A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.",
            "format": "decimal",
            "nullable": true
          },
          "UnitPriceIncVat": {
            "type": "number",
            "description": "The unit price of the item, including VAT.",
            "format": "decimal",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about each item on an Invoice."
      },
      "InvoiceListItem": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the Invoice.",
            "format": "int64",
            "nullable": true
          },
          "InvoiceNo": {
            "type": "string",
            "description": "The external invoice number of the Invoice. Usually from an ERP system.",
            "nullable": true
          },
          "InvoiceDate": {
            "type": "string",
            "description": "The invoice date of the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "InvoiceDueDate": {
            "type": "string",
            "description": "The invoice due date of the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "InvoiceText": {
            "type": "string",
            "description": "InvoiceText is taken from InvoiceMark in Norce.",
            "nullable": true
          },
          "OrderNo": {
            "type": "string",
            "description": "The ERP order number of the Order related to the Invoice.",
            "nullable": true
          },
          "OrderDate": {
            "type": "string",
            "description": "The order date of the Order related to the Invoice.",
            "format": "date-time",
            "nullable": true
          },
          "Source": {
            "type": "string",
            "description": "The source of the Invoice. 'WEB' is used for all invoices created through Norce.",
            "nullable": true
          },
          "DeliveryDate": {
            "type": "string",
            "description": "The delivery date of the Order.",
            "format": "date-time",
            "nullable": true
          },
          "DeliveryMethod": {
            "type": "string",
            "description": "The delivery method of the Order.",
            "nullable": true
          },
          "PaymentMethod": {
            "type": "string",
            "description": "The payment method of the Order.",
            "nullable": true
          },
          "BillTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "InvoiceAmountExVat": {
            "type": "number",
            "description": "The total amount invoiced excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "VatAmount": {
            "type": "number",
            "description": "The total VAT amount invoiced.",
            "format": "decimal",
            "nullable": true
          },
          "InvoiceNoPsp": {
            "type": "string",
            "description": "The invoice number from the PSP. This is only used when the PSP issues invoices.",
            "nullable": true
          },
          "IsDebit": {
            "type": "boolean",
            "description": "Indicates if this is a debit invoice (true) or a credit invoice (false).",
            "nullable": true
          },
          "GroupByKey": {
            "type": "string",
            "description": "GroupByKey can be used to group invoices. All individual invoices on one summary invoice will have this set to the same value. Normal non-summary invoices will have this value set to null.",
            "nullable": true
          },
          "InvoiceAmountIncVat": {
            "type": "number",
            "description": "The total amount invoiced including VAT.",
            "format": "decimal",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about an Invoice used in lists. This is a more light weight representation of the Invoice than the Invoice entity."
      },
      "InvoicePagedList": {
        "type": "object",
        "properties": {
          "ItemCount": {
            "type": "integer",
            "description": "The total number of invoices. Can be used to manage paging. Use PageSize to calculate number of pages.",
            "format": "int32",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceListItem"
            },
            "description": "Current list of invoices for the current page if paging is used. Otherwise all invoices will be in the list.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Invoices in a paged list format. The Items property contains all current invoices, depending on paging, and the ItemCount the total number of invoices."
      },
      "Order": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the Order in Norce.",
            "format": "int64",
            "nullable": true
          },
          "QuotationId": {
            "type": "integer",
            "description": "The internal id of the quotation/basket used to create the Order.",
            "format": "int32",
            "nullable": true
          },
          "OrderNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The external order number of the Order, usually from an ERP. MaxLength: 50",
            "nullable": true
          },
          "OrderDate": {
            "type": "string",
            "description": "The order date of the Order.",
            "format": "date-time",
            "nullable": true
          },
          "Status": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The status text of the Order. See ListOrderStatuses for information about available statuses. MaxLength: 50",
            "nullable": true
          },
          "Source": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The source of the Order. 'WEB' is used for all orders created through Norce. MaxLength: 255",
            "nullable": true
          },
          "Currency": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string",
            "description": "The currency code of the Order. MaxLength: 3",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem"
            },
            "description": "The items on the Order.",
            "nullable": true
          },
          "SellTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "BillTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "ShipTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "OrderTotalIncVat": {
            "type": "number",
            "description": "The total amount on the Order including VAT.",
            "format": "decimal",
            "nullable": true
          },
          "OrderTotalExVat": {
            "type": "number",
            "description": "The total amount on the Order excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "PaymentMethod": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The payment method of the Order. MaxLength: 50",
            "nullable": true
          },
          "DeliveryMethod": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The delivery method of the Order. MaxLength: 50",
            "nullable": true
          },
          "DeliveryNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeliveryNote"
            },
            "description": "The delivery notes of the Order.",
            "nullable": true
          },
          "Info": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Info"
            },
            "description": "A list of infos used to keep application specific data on the order.",
            "nullable": true
          },
          "TypeId": {
            "type": "integer",
            "description": "The type of the order. 1 for normal sales order and 3 for orders from subscriptions. 2 is reserved for purchase orders.",
            "format": "int32",
            "nullable": true
          },
          "DeliveryMark": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The delivery mark of the Order. Gets it's value from the OrderReference field of the basket. MaxLength: 255",
            "nullable": true
          },
          "DropPoint": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about an Order."
      },
      "OrderAddress": {
        "type": "object",
        "properties": {
          "Line1": {
            "type": "string",
            "description": "The first address line of the Address.",
            "nullable": true
          },
          "Line2": {
            "type": "string",
            "description": "The second address line of the Address.",
            "nullable": true
          },
          "CareOf": {
            "type": "string",
            "description": "The care of part of the Address.",
            "nullable": true
          },
          "City": {
            "type": "string",
            "description": "The city of the Address.",
            "nullable": true
          },
          "ZipCode": {
            "type": "string",
            "description": "The zipcode of the Address.",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "description": "The name of the country of the Address.",
            "nullable": true
          },
          "CountryCode": {
            "type": "string",
            "description": "The code of the country of the Address.",
            "nullable": true
          },
          "Region": {
            "type": "string",
            "description": "The region of the Address.",
            "nullable": true
          },
          "ShippingPhoneNumber": {
            "type": "string",
            "description": "Phone number for shipping address. Only applicable in shipping addresses.",
            "nullable": true
          },
          "GlobalLocationNo": {
            "type": "string",
            "description": "The Global Location Number (GLN) is part of the GS1 systems of standards. It is a simple tool used to identify a location and can identify locations uniquely where required. This is only used for invoice addresses.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about Addresses in the Order namespace."
      },
      "OrderCompany": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of Company.",
            "format": "int32",
            "nullable": true
          },
          "No": {
            "type": "string",
            "description": "The external code of Company. Usually from an ERP system.",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of Company.",
            "nullable": true
          },
          "OrgNo": {
            "type": "string",
            "description": "The organizational number of Company.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about Companies in the Order namespace."
      },
      "OrderCustomer": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of Customer.",
            "format": "int32",
            "nullable": true
          },
          "No": {
            "type": "string",
            "description": "The external code of Customer. Usually from an ERP system.",
            "nullable": true
          },
          "FirstName": {
            "type": "string",
            "description": "The first name of Customer.",
            "nullable": true
          },
          "LastName": {
            "type": "string",
            "description": "The last name of Customer.",
            "nullable": true
          },
          "Ssn": {
            "type": "string",
            "description": "The social security number of Customer.",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "description": "The e-mail of Customer.",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "description": "The phone number of Customer.",
            "nullable": true
          },
          "CellPhone": {
            "type": "string",
            "description": "The cell phone number of Customer.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about Customers in the Order namespace."
      },
      "OrderItem": {
        "type": "object",
        "properties": {
          "RowNumber": {
            "type": "number",
            "description": "The row number of the OrderItem.",
            "format": "decimal",
            "nullable": true
          },
          "PartNo": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The PartNo of the OrderItem. MaxLength: 50",
            "nullable": true
          },
          "Name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string",
            "description": "The name of the OrderItem. MaxLength: 255",
            "nullable": true
          },
          "QtyOrdered": {
            "type": "number",
            "description": "The quantity ordered. This is the total quantity ordered.",
            "format": "decimal",
            "nullable": true
          },
          "UnitPrice": {
            "type": "number",
            "description": "The unit price of the Item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "UnitDiscount": {
            "type": "number",
            "description": "The unit discount of the Item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "RowAmount": {
            "type": "number",
            "description": "The total amount of the Item, excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "VatRate": {
            "type": "number",
            "description": "A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.",
            "format": "decimal",
            "nullable": true
          },
          "ImageKey": {
            "type": "string",
            "description": "A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.",
            "format": "uuid",
            "nullable": true
          },
          "Type": {
            "type": "integer",
            "description": "Sku type internal id for this order item.",
            "format": "int32",
            "nullable": true
          },
          "Status": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "The status text of the OrderItem. See ListOrderStatuses for information about available statuses. MaxLength: 50",
            "nullable": true
          },
          "Info": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Info"
            },
            "description": "A list of infos used to keep application specific data on the order item.",
            "nullable": true
          },
          "ParentRowNumber": {
            "type": "number",
            "description": "The parent row number of the OrderItem, if any.",
            "format": "decimal",
            "nullable": true
          },
          "PriceRecommended": {
            "type": "number",
            "description": "This is the recommended price of the item when the order was created.",
            "format": "decimal",
            "nullable": true
          },
          "PriceCatalog": {
            "type": "number",
            "description": "This is the catalog price of the item when the order was created.",
            "format": "decimal",
            "nullable": true
          },
          "PriceStandard": {
            "type": "number",
            "description": "This is the standard price of the item when the order was created.",
            "format": "decimal",
            "nullable": true
          },
          "UnitPriceIncVat": {
            "type": "number",
            "description": "The unit price of the item, including VAT.",
            "format": "decimal",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about the Items on an Order."
      },
      "OrderListItem": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The internal id of the Order in Norce.",
            "format": "int64",
            "nullable": true
          },
          "QuotationId": {
            "type": "integer",
            "description": "The internal id of the quotation/basket used to create the Order.",
            "format": "int32",
            "nullable": true
          },
          "OrderNo": {
            "type": "string",
            "description": "The order number of the Order, usually from an ERP.",
            "nullable": true
          },
          "OrderDate": {
            "type": "string",
            "description": "The order date of the Order.",
            "format": "date-time",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "description": "The status text of the Order. See ListOrderStatuses for information about available statuses.",
            "nullable": true
          },
          "Source": {
            "type": "string",
            "description": "The source of the Order. 'WEB' is used for all orders created through Norce.",
            "nullable": true
          },
          "Currency": {
            "type": "string",
            "description": "The currency code of the Order.",
            "nullable": true
          },
          "SellTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "BillTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "ShipTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "OrderTotalIncVat": {
            "type": "number",
            "description": "The total amount on the Order including VAT.",
            "format": "decimal",
            "nullable": true
          },
          "OrderTotalExVat": {
            "type": "number",
            "description": "The total amount on the Order excluding VAT.",
            "format": "decimal",
            "nullable": true
          },
          "PaymentMethod": {
            "type": "string",
            "description": "The payment method of the Order.",
            "nullable": true
          },
          "DeliveryMethod": {
            "type": "string",
            "description": "The delivery method of the Order.",
            "nullable": true
          },
          "TypeId": {
            "type": "integer",
            "description": "The type of the order. 1 for normal sales order and 3 for orders from subscriptions. 2 is reserved for purchase orders.",
            "format": "int32",
            "nullable": true
          },
          "DeliveryMark": {
            "type": "string",
            "description": "The delivery mark of the Order. Gets its value from the OrderReference field of the basket.",
            "nullable": true
          },
          "DropPoint": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerData"
              }
            ],
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem"
            },
            "description": "The items on the Order.",
            "nullable": true
          },
          "Info": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Info"
            },
            "description": "A list of infos used to keep application specific data on the order.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Information about an Order used in lists. This is a more light weight representation of the Order than the Order entity."
      },
      "OrderPagedList": {
        "type": "object",
        "properties": {
          "ItemCount": {
            "type": "integer",
            "description": "The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.",
            "format": "int32",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Order"
            },
            "description": "Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Orders in a paged list format. The Items property contains all current orders, depending on paging, and the ItemCount the total number of orders."
      },
      "OrderPagedList2": {
        "type": "object",
        "properties": {
          "ItemCount": {
            "type": "integer",
            "description": "The total number of orders. Can be used to manage paging. Use PageSize to calculate number of pages.",
            "format": "int32",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderListItem"
            },
            "description": "Current list of orders for the current page if paging is used. Otherwise all orders will be in the list.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Orders in a paged list format. The Items property contains all current orders, depending on paging, and the ItemCount the total number of orders."
      },
      "Tracking": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "FreightForwarder": {
            "type": "string",
            "nullable": true
          },
          "TrackingCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      },
      "ApplicationId": {
        "type": "apiKey",
        "description": "ApplicationId header required for all requests.",
        "name": "ApplicationId",
        "in": "header"
      }
    }
  }
}