{"swagger":"2.0","info":{"version":"v1","title":"ShopCtrl.API","contact":{"email":"info@shopctrl.com"}},"host":"api.salesupply.com","schemes":["http","https"],"paths":{"/v1/Activities/Categories":{"get":{"tags":["Activities"],"summary":"Returns actvity categories for current (api) user.","operationId":"Activities_GetCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ActivityJournalCategory"}}}}}},"/v1/Activities":{"get":{"tags":["Activities"],"summary":"Retrieve activity journal entries for current (api) user.","operationId":"Activities_GetJournalEntries","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromDate","in":"query","description":"Limit search to entries after or equal provided Date(Time). When not supplied, 'Today' is used","required":false,"type":"string","format":"date-time"},{"name":"tillDate","in":"query","description":"Limit search to entries before provided Date(Time)","required":false,"type":"string","format":"date-time"},{"name":"changedSince","in":"query","description":"","required":false,"type":"string","format":"date-time"},{"name":"shopId","in":"query","description":"Limit search to entries for a specific shop","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 40.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ActivityJournalEntry"}}}}},"post":{"tags":["Activities"],"summary":"Adds a new journal entry for the current (api) user","operationId":"Activities_AddJournalEntry","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"newActivity","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ActivityJournalEntryChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ActivityJournalEntry"}}}}},"/v1/Activities/{id}":{"put":{"tags":["Activities"],"summary":"Updates a journal entry for the current (api) user","operationId":"Activities_UpdateJournalEntry","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"activity","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ActivityJournalEntryChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ActivityJournalEntry"}}}},"delete":{"tags":["Activities"],"summary":"Deletes a journal entry of the current (api) user","operationId":"Activities_DeleteJournalEntry","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopOwners/{shopOwnerId}/CarrierAccounts":{"get":{"tags":["CarrierAccounts"],"summary":"Get a list with all CarrierAccounts.","operationId":"CarrierAccounts_GetAllCarrierAccounts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"Shop owner identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CarrierAccountBasicInfo"}}}}}},"/v1/Shops/{shopId}/CarrierAccounts":{"get":{"tags":["CarrierAccounts"],"summary":"Get a list with all available CarrierAccounts for this shop.","operationId":"CarrierAccounts_GetAllCarrierAccountsForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Shop identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CarrierAccountBasicInfo"}}}}}},"/v1/CarrierAccounts/{carrierAccountId}":{"get":{"tags":["CarrierAccounts"],"summary":"Get detailed information about a CarrierAccount.","operationId":"CarrierAccounts_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"carrierAccountId","in":"path","description":"The id of the CarrierAccount.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CarrierAccount"}}}}},"/v1/CarrierAccounts":{"put":{"tags":["CarrierAccounts"],"summary":"Update an existing CarrierAccount.","operationId":"CarrierAccounts_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"carrierAccount","in":"body","description":"The CarrierAccount changes object","required":true,"schema":{"$ref":"#/definitions/CarrierAccountChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CarrierAccounts"],"summary":"Add a new CarrierAccount.","operationId":"CarrierAccounts_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"carrierAccount","in":"body","description":"The CarrierAccount changes object","required":true,"schema":{"$ref":"#/definitions/CarrierAccountChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CarrierAccount"}}}}},"/v1/CarrierAccounts/{id}":{"delete":{"tags":["CarrierAccounts"],"summary":"Delete a given CarrierAccount.","operationId":"CarrierAccounts_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The CarrierAccount Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Countries":{"get":{"tags":["Countries"],"summary":"Get a list with all available Countries.","operationId":"Countries_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Country"}}}}}},"/v1/Cultures":{"get":{"tags":["Cultures"],"summary":"Get a list with all available Cultures.","operationId":"Cultures_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Culture"}}}}}},"/v1/Currencies":{"get":{"tags":["Currencies"],"summary":"Get a list with all available Currencies.","operationId":"Currencies_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Currency"}}}}}},"/v1/Shops/{shopId}/CustomerContracts":{"get":{"tags":["CustomerContracts"],"summary":"Get a list with all available CustomerContracts, for the given shop.","operationId":"CustomerContracts_GetAllCustomerContracts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"active","in":"query","description":"Return only Contract which are active or not.","required":false,"type":"boolean"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomerContractBase"}}}}}},"/v1/CustomerContracts/{customerContractId}":{"delete":{"tags":["CustomerContracts"],"summary":"Delete given CustomerContract. Note that this is no 'soft delete'.","operationId":"CustomerContracts_DeleteCustomerContract","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/CustomerContracts/GetByCustomerId":{"get":{"tags":["CustomerContracts"],"summary":"Gets the customer's customer contracts by customer id.","operationId":"CustomerContracts_GetCustomerContractsByCustomerId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"query","description":"The customer id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomerContractBase"}}}}}},"/v1/CustomerContracts/GetByCustomerCode":{"get":{"tags":["CustomerContracts"],"summary":"Gets the customer's customer contracts by exact match of customer code.","operationId":"CustomerContracts_GetCustomerContractsByCustomerCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"code","in":"query","description":"The customer code","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomerContractBase"}}}}}},"/v1/CustomerContracts/{id}":{"get":{"tags":["CustomerContracts"],"summary":"Get detailed information about the customer contract.","operationId":"CustomerContracts_GetCustomerContract","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The customer contract id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CustomerContract"}}}}},"/v1/CustomerContracts":{"put":{"tags":["CustomerContracts"],"summary":"Update an existing CustomerContract.","operationId":"CustomerContracts_UpdateCustomerContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContract","in":"body","description":"The CustomerContract.","required":true,"schema":{"$ref":"#/definitions/CustomerContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CustomerContracts"],"summary":"Create a new CustomerContract.","operationId":"CustomerContracts_AddCustomerContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContract","in":"body","description":"The CustomerContract.","required":true,"schema":{"$ref":"#/definitions/CustomerContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CustomerContract"}}}}},"/v1/CustomerContracts/{customerContractId}/Products":{"get":{"tags":["CustomerContracts"],"summary":"Get a list with all CustomerContract products for a given CustomerContract.","operationId":"CustomerContracts_GetCustomerContractProducts","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomerContractProduct"}}}}},"put":{"tags":["CustomerContracts"],"summary":"Update an existing CustomerContract product.","operationId":"CustomerContracts_UpdateCustomerContractProduct","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"product","in":"body","description":"The CustomerContract Product.","required":true,"schema":{"$ref":"#/definitions/CustomerContractProduct"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CustomerContracts"],"summary":"Adds the specified CustomerContract product.","operationId":"CustomerContracts_AddCustomerContractProduct","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"product","in":"body","description":"The CustomerContract Product.","required":true,"schema":{"$ref":"#/definitions/CustomerContractProduct"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/CustomerContracts/{customerContractId}/Products/{customerContractProductId}":{"delete":{"tags":["CustomerContracts"],"summary":"Delete given CustomerContract product.","operationId":"CustomerContracts_DeleteCustomerContractProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"customerContractProductId","in":"path","description":"The CustomerContract Product identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/CustomerContracts/{id}/Orders":{"post":{"tags":["CustomerContracts"],"summary":"Generate an order for the given customer contract. \r\nIf both from and till parameters are null, then it generates an order for the next scheduled period if any.\r\nBoth from and till parameters must have values or both must be null. If only one is null it will throw an exception.","operationId":"CustomerContracts_CreateOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The customer contract id.","required":true,"type":"integer","format":"int32"},{"name":"from","in":"query","description":"The from date of the period.","required":false,"type":"string","format":"date-time"},{"name":"till","in":"query","description":"The till date of the period.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderBase"}}}}},"/v1/CustomerContracts/{customerContractId}/Parameters":{"get":{"tags":["CustomerContracts"],"summary":"Get all CustomerContract Parameters.","operationId":"CustomerContracts_GetCustomerContractParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerContractId","in":"path","description":"The id of the CustomerContract.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Parameter"}}}}},"put":{"tags":["CustomerContracts"],"summary":"Update an CustomerContract Parameter.","operationId":"CustomerContracts_UpdateCustomerContractParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The id of the CustomerContract.","required":true,"type":"integer","format":"int32"},{"name":"customerContractParameter","in":"body","description":"The CustomerContract Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CustomerContracts"],"summary":"Add an CustomerContract Parameter.","operationId":"CustomerContracts_AddCustomerContractParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The id of the CustomerContract.","required":true,"type":"integer","format":"int32"},{"name":"customerContractParameter","in":"body","description":"The CustomerContract Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/CustomerContracts/{customerContractId}/Parameters/{key}":{"get":{"tags":["CustomerContracts"],"summary":"Get a single CustomerContract Parameter.","operationId":"CustomerContracts_GetSingleCustomerContractParameter","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerContractId","in":"path","description":"The id of the CustomerContract.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The CustomerContract parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parameter"}}}},"put":{"tags":["CustomerContracts"],"summary":"Update an CustomerContract Parameter.","operationId":"CustomerContracts_UpdateCustomerContractParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The id of the CustomerContract Parameter.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The CustomerContract Parameter parameter key.","required":true,"type":"string"},{"name":"value","in":"query","description":"The CustomerContract Parameter parameter value to set.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["CustomerContracts"],"summary":"Delete a specific CustomerContract Parameter.","operationId":"CustomerContracts_DeleteCustomerContractParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerContractId","in":"path","description":"The CustomerContract Parameter identifier.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The CustomerContract Parameter key to delete.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopOwners/{shopOwnerId}/Customers":{"get":{"tags":["Customers"],"summary":"Get a list with all Customers for specified Shop owner.","operationId":"Customers_GetBy","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the Shop owner.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed Customers.\r\n            The date part must be specified, using following format: yyyy-MM-dd.\r\n            Optionally the time can also be specified, use following format: yyyy-MM-dd HH:mm:ss","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed Customers.\r\n            The date part must be specified, using following format: yyyy-MM-dd.\r\n            Optionally the time can also be specified, use following format: yyyy-MM-dd HH:mm:ss","required":false,"type":"string","format":"date-time"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 1000.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"},{"name":"isActive","in":"query","description":"If set, filter on whether customer is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/Customers/Search/{search}":{"get":{"tags":["Customers"],"summary":"Get a list with all Customers for specified Shopowner and search in following fields:\r\n- FullName\r\n- CompanyName\r\n- EMail address\r\n- ContactRef","operationId":"Customers_SearchAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the Shopowner.","required":true,"type":"integer","format":"int32"},{"name":"search","in":"path","description":"The search pattern.","required":true,"type":"string"},{"name":"isActive","in":"query","description":"If set, filter on whether customer is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/Customers/CustomerCode/{customerCode}":{"get":{"tags":["Customers"],"summary":"Get a list with all Customers for specified Shopowner and specific CustomerCode.","operationId":"Customers_GetAllByCustomerCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The shop owner identifier.","required":true,"type":"integer","format":"int32"},{"name":"customerCode","in":"path","description":"The customer code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Customer"}}}}}},"/v1/Customers":{"get":{"tags":["Customers"],"summary":"Get a list with all Customers available for the logged in user.","operationId":"Customers_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"isActive","in":"query","description":"If set, filter on whether customer is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}},"put":{"tags":["Customers"],"summary":"Update an existing Customer.","operationId":"Customers_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"customer","in":"body","description":"The Customer changes object","required":true,"schema":{"$ref":"#/definitions/CustomerChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Customers"],"summary":"Add a new Customer.","operationId":"Customers_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customer","in":"body","description":"The Customer changes object","required":true,"schema":{"$ref":"#/definitions/CustomerChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Customer"}}}}},"/v1/Customers/{id}":{"get":{"tags":["Customers"],"summary":"Get detailed information about a Customer.","operationId":"Customers_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Customer.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Customer"}}}},"delete":{"tags":["Customers"],"summary":"Delete given Customer.","operationId":"Customers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The Customer Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Customers/{customerId}/ReceiveNewsLetter/{value}":{"put":{"tags":["Customers"],"summary":"Set true if the Customer likes to receive a newsletter.","operationId":"Customers_UpdateCustomer","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"customerId","in":"path","description":"The Customer ID","required":true,"type":"integer","format":"int32"},{"name":"value","in":"path","description":"True if the Customer likes to receive a newsletter.","required":true,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Customers/{id}/Contacts/{contactId}":{"delete":{"tags":["Customers"],"summary":"Delete the company contact.","operationId":"Customers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The customer's id","required":true,"type":"integer","format":"int32"},{"name":"contactId","in":"path","description":"The company contact's id (CompanyContactId, not the ContactInfoId)","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Customers/{id}/Contacts":{"get":{"tags":["Customers"],"summary":"Get the company contacts.","operationId":"Customers_GetCompanyContacts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Customer.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyContact"}}}}},"put":{"tags":["Customers"],"summary":"Update the company contact.","operationId":"Customers_UpdateContact","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The customer's id.","required":true,"type":"integer","format":"int32"},{"name":"contactData","in":"body","description":"The company contact object.","required":true,"schema":{"$ref":"#/definitions/CompanyContact"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Customers"],"summary":"Add a new company contact.","operationId":"Customers_AddContact","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The customer's id.","required":true,"type":"integer","format":"int32"},{"name":"contactData","in":"body","description":"The company contact object.","required":true,"schema":{"$ref":"#/definitions/CompanyContact"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CompanyContact"}}}}},"/v1/System/SendInvoiceTransports":{"get":{"tags":["Customers"],"summary":"Returns list of SendInvoiceTransport options available","operationId":"Customers_GetSendInvoiceTransports","consumes":[],"produces":["application/json","text/json"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SendInvoiceTransport"}}}}}},"/v1/Customers/{id}/SendInvoiceTransport":{"get":{"tags":["Customers"],"summary":"Returns current SendInvoiceTransport for customer","operationId":"Customers_GetCustomerSendInvoiceTransport","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"Id of customer","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SendInvoiceTransport"}}}}},"/v1/Customers/{id}/SendInvoiceTransport/{sendInvoiceTransportId}":{"put":{"tags":["Customers"],"summary":"Sets SendInvoiceTransaction for customer","operationId":"Customers_SetCustomerSetInvoiceTransport","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"Id of customer","required":true,"type":"integer","format":"int32"},{"name":"sendInvoiceTransportId","in":"path","description":"Id of SendInvoiceTransport option","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SendInvoiceTransport"}}}}},"/v1/Shops/{shopId}/Emails":{"get":{"tags":["EMails"],"summary":"Get a list with all available EMails, for given shop.","operationId":"EMails_GetAllEMail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDate","in":"query","description":"Optionally specify a from date.","required":false,"type":"string","format":"date-time"},{"name":"untilDate","in":"query","description":"Optionally specify an until date.","required":false,"type":"string","format":"date-time"},{"name":"mailboxId","in":"query","description":"Optionally specify an mailbox Id.","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EMailBasicInfo"}}}}}},"/v1/EMails/{mailId}":{"get":{"tags":["EMails"],"summary":"Get detailed information about an EMail.","operationId":"EMails_GetEMail","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The id of the EMail.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/EMail"}}}}},"/v1/Shops/{shopId}/EMailboxes":{"get":{"tags":["EMails"],"summary":"Get all EMailboxes which are available.","operationId":"EMails_GetAllEMailboxes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The shop identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EMailbox"}}}}}},"/v1/Shops/{shopId}/SendMail":{"post":{"tags":["EMails"],"summary":"Sends an email based on an email template. \r\nIf the selected template contains a recipient, it will be used instead of the order contact.","operationId":"EMails_SendEmail","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The shop id","required":true,"type":"integer","format":"int32"},{"name":"mailTemplateId","in":"query","description":"The mail template id","required":true,"type":"integer","format":"int32"},{"name":"orderId","in":"query","description":"The order id","required":false,"type":"integer","format":"int32"},{"name":"orderCode","in":"query","description":"The order Code","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/SendCustomMail":{"post":{"tags":["EMails"],"summary":"Sends an email based on custom email values.","operationId":"EMails_SendCustomEmail","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop id","required":true,"type":"integer","format":"int32"},{"name":"email","in":"body","description":"The email data to send.","required":true,"schema":{"$ref":"#/definitions/EMailChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/SendReply":{"post":{"tags":["EMails"],"summary":"This endpoint can be used to create a reply mail.","operationId":"EMails_SendReplyEmail","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Id of the original email.","required":true,"type":"integer","format":"int32"},{"name":"email","in":"body","description":"The reply mail contents.","required":true,"schema":{"$ref":"#/definitions/EMailChanges"}},{"name":"includeOriginalMailthread","in":"query","description":"If includeOriginalMailthread is true(default) $$ApiMailData.Content$$ can be used in the specified mailtemplate. If it is false the template and mail conversation are ignored and the provided content is used as is.","required":false,"type":"boolean"},{"name":"mailTemplateId","in":"query","description":"The Id of the template to use. If not specified, the Shop default reply template will be used.","required":false,"type":"integer","format":"int32"},{"name":"keepAsDraft","in":"query","description":"If true the reply will be saved as draft.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/EmailTemplates":{"get":{"tags":["EMails"],"summary":"Gets the email templates of a Shop.","operationId":"EMails_GetShopEmailTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The shop identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmailTemplateBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/EmailTemplates":{"get":{"tags":["EMails"],"summary":"Gets the email templates of a Shop Owner.","operationId":"EMails_GetShopOwnerEmailTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The shop owner identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmailTemplateBasicInfo"}}}}}},"/v1/EmailTemplates":{"get":{"tags":["EMails"],"summary":"Gets the global email templates.","operationId":"EMails_GetGlobalEmailTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmailTemplateBasicInfo"}}}}}},"/v1/Mail/Rate/{token}/{rating}":{"get":{"tags":["EMails"],"summary":"Sets the email rating.","operationId":"EMails_RateEmail","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"token","in":"path","description":"The security token","required":true,"type":"string","format":"uuid"},{"name":"rating","in":"path","description":"The rating value (1-10)","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Mail/ShopCtrl/RN/{token}":{"get":{"tags":["EMails"],"summary":"Sets the Read Notify for an email","operationId":"EMails_ReadNotify","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"token","in":"path","description":"The security token","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/MailTemplates/{mailTemplateId}":{"get":{"tags":["EMails"],"summary":"Get detailed information about an Mail Template.","operationId":"EMails_GetMailTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mailTemplateId","in":"path","description":"The id of the Mail Template.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/EMailTemplate"}}}}},"/v1/EMails/{mailId}/MarkHandled":{"put":{"tags":["EMails"],"summary":"Mark an email as handled.","operationId":"EMails_EMailMarkHandled","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/UpdateNote":{"put":{"tags":["EMails"],"summary":"Update the Employee Note field of an email.","operationId":"EMails_EMailUpdateNote","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeNote","in":"query","description":"The mail new note value.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/SetEmployee":{"put":{"tags":["EMails"],"summary":"Assign the Handling Employee of an email.","operationId":"EMails_EMailAssignEmployee","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeId","in":"query","description":"The Id of the Employee.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/AssignToCustomer":{"put":{"tags":["EMails"],"summary":"Assign a Customer to an email.","operationId":"EMails_EMailAssignToCustomer","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"customerId","in":"query","description":"The Customer identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/AssignToTicket":{"put":{"tags":["EMails"],"summary":"Assign a Ticket to an email.","operationId":"EMails_EMailAssignToTicket","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"ticketId","in":"query","description":"The Ticket identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/AssignToOrder":{"put":{"tags":["EMails"],"summary":"Assign an Order to an email.","operationId":"EMails_EMailAssignToOrder","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderId","in":"query","description":"The Order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/EMails/{mailId}/AssignCategories":{"put":{"tags":["EMails"],"summary":"Assign categories to an email.","operationId":"EMails_EMailAssignCategories","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"mailId","in":"path","description":"The Mail identifier.","required":true,"type":"integer","format":"int32"},{"name":"categories","in":"body","description":"The categories to assign to an Mail.","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Employees":{"get":{"tags":["Employees"],"summary":"Get a list with all available Employees for the logged in user.","operationId":"Employees_GetEmployees","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmployeeBasicInfo"}}}}},"put":{"tags":["Employees"],"summary":"Update an existing Employee.\r\nNote: setting ShopRoles and EmployeeGroups are not supported by this URI.\r\nPlease use specific URIs to add/remove ShopRoles and EmployeeGroups.","operationId":"Employees_UpdateEmployee","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"employee","in":"body","description":"The EmployeeChanges object","required":true,"schema":{"$ref":"#/definitions/EmployeeChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Employees"],"summary":"Add a new Employee.\r\nNote: setting ShopRoles and EmployeeGroups are not supported by this URI.\r\nPlease use specific URIs to add/remove ShopRoles and EmployeeGroups.","operationId":"Employees_AddEmployee","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employee","in":"body","description":"The EmployeeChanges object","required":true,"schema":{"$ref":"#/definitions/EmployeeChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Employee"}}}}},"/v1/Employees/{employeeId}":{"get":{"tags":["Employees"],"summary":"Get detailed information about an Employee.","operationId":"Employees_GetEmployee","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employeeId","in":"path","description":"The id of the Employee.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Employee"}}}},"delete":{"tags":["Employees"],"summary":"Delete the given Employee.","operationId":"Employees_DeleteEmployee","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Employees/{employeeId}/ShopRoles":{"get":{"tags":["Employees"],"summary":"Get a list with all ShopRoles for a given Employee.","operationId":"Employees_GetShopRoles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmployeeShopRole"}}}}}},"/v1/ShopRoles/{employeeId}":{"get":{"tags":["Employees"],"summary":"Get a list with all available ShopRoles for a given Employee.","operationId":"Employees_GetAllAvailableShopRoles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopRole"}}}}}},"/v1/Employees/{employeeId}/ShopRoles/{shopId}/{shopRoleId}":{"post":{"tags":["Employees"],"summary":"Adds the ShopRole specified by id.","operationId":"Employees_AddShopRole","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"The Shop identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopRoleId","in":"path","description":"The ShopRole identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Employees"],"summary":"Deletes the ShopRole specified by id.","operationId":"Employees_DeleteShopRole","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"The Shop identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopRoleId","in":"path","description":"The ShopRole identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Employees/{employeeId}/ShopRoles/{shopId}/{shopRoleName}":{"post":{"tags":["Employees"],"summary":"Adds the ShopRole specified by name.","operationId":"Employees_AddShopRole","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"The Shop identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopRoleName","in":"path","description":"The ShopRole name.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Employees"],"summary":"Deletes the ShopRole specified by name.","operationId":"Employees_DeleteShopRole","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"The Shop identifier.","required":true,"type":"integer","format":"int32"},{"name":"shopRoleName","in":"path","description":"The ShopRole name.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Employees/{employeeId}/EmployeeGroups":{"get":{"tags":["Employees"],"summary":"Get a list with all EmployeeGroups for a given Employee.","operationId":"Employees_GetEmployeeGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmployeeGroup"}}}}}},"/v1/EmployeeGroups/{employeeId}":{"get":{"tags":["Employees"],"summary":"Get a list with all available EmployeeGroups for a given Employee.","operationId":"Employees_GetAllAvailableEmployeeGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/EmployeeGroup"}}}}}},"/v1/Employees/{employeeId}/EmployeeGroups/{employeeGroupId}":{"post":{"tags":["Employees"],"summary":"Adds the EmployeeGroup specified by id.","operationId":"Employees_AddEmployeeGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeGroupId","in":"path","description":"The EmployeeGroup identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Employees"],"summary":"Deletes the EmployeeGroup specified by id.","operationId":"Employees_DeleteEmployeeGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeGroupId","in":"path","description":"The EmployeeGroup identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Employees/{employeeId}/EmployeeGroups/{employeeGroupName}":{"post":{"tags":["Employees"],"summary":"Adds the EmployeeGroup specified name.","operationId":"Employees_AddEmployeeGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeGroupName","in":"path","description":"The EmployeeGroup name.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Employees"],"summary":"Deletes the EmployeeGroup specified by name.","operationId":"Employees_DeleteEmployeeGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"employeeId","in":"path","description":"The Employee identifier.","required":true,"type":"integer","format":"int32"},{"name":"employeeGroupName","in":"path","description":"The EmployeeGroup name.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ExchangeRates":{"get":{"tags":["ExchangeRates"],"summary":"Get a list with all available Exchange Rates.","operationId":"ExchangeRates_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ExchangeRate"}}}}}},"/v1/Files/{fileId}":{"get":{"tags":["Files"],"summary":"Get a specified File object.","operationId":"Files_GetFileObject","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fileId","in":"path","description":"The File Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/File"}}}}},"/v1/Files/{fileId}/MetaData":{"get":{"tags":["Files"],"summary":"Get a specified File object.","description":"FileLength, Checksum and Base64Data properties are not set!","operationId":"Files_GetFileMetaData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fileId","in":"path","description":"The File Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/File"}}}}},"/v1/Files/{fileId}/Stream":{"get":{"tags":["Files"],"operationId":"Files_GetFileStream","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"fileId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Files":{"post":{"tags":["Files"],"summary":"Create a new file for ShopOwner (and optionally Shop)","operationId":"Files_AddFile","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"newFile","in":"body","description":"File to be created","required":true,"schema":{"$ref":"#/definitions/AddFileDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Invoices":{"get":{"tags":["Invoices"],"summary":"Get a list with all available Invoices, for the given shop.","operationId":"Invoices_GetAllInvoices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed Invoices.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify an until date for changed Invoices.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"mainStatusBaseStatusId","in":"query","description":"Optionally specify a base status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"fromDateDeleted","in":"query","description":"Optionally specify a from date for deleted invoices.","required":false,"type":"string","format":"date-time"},{"name":"untilDateDeleted","in":"query","description":"Optionally specify an until date for deleted invoices.","required":false,"type":"string","format":"date-time"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceBasicInfo"}}}}}},"/v1/Invoices/{invoiceId}":{"get":{"tags":["Invoices"],"summary":"Get detailed information about an Invoice.","operationId":"Invoices_GetInvoice","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","description":"The id of the Invoice.","required":true,"type":"integer","format":"int32"},{"name":"includeDeleted","in":"query","description":"Optionally specify if deleted invoices should be retrieved (not included by default).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Invoice"}}}}},"/v1/Shops/{shopId}/Invoices/{invoiceCode}":{"get":{"tags":["Invoices"],"summary":"Get detailed information about an Invoice.","operationId":"Invoices_GetInvoiceByInvoiceCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"invoiceCode","in":"path","description":"The unique ShopCtrl Invoice code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Invoice"}}}}},"/v1/Shops/{shopId}/Invoices/{invoiceCode}/InvoiceId":{"get":{"tags":["Invoices"],"summary":"Get the ShopCtrl Invoice id based on the invoiceCode.","operationId":"Invoices_GetInvoiceIdByInvoiceCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"invoiceCode","in":"path","description":"The unique ShopCtrl Invoice code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/v1/Invoices/{invoiceId}/MainStatus/{statusId}":{"put":{"tags":["Invoices"],"operationId":"Invoices_SetMainInvoiceStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/SentStatus/{statusId}":{"put":{"tags":["Invoices"],"operationId":"Invoices_SetSentInvoiceStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/CustomStatus/{statusId}":{"put":{"tags":["Invoices"],"operationId":"Invoices_SetCustomInvoiceStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/PaymentTerms/{paymentTermId}":{"put":{"tags":["Invoices"],"operationId":"Invoices_SetPaymentTermsInvoice","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentTermId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/PaymentType/{paymentTypeId}":{"put":{"tags":["Invoices"],"operationId":"Invoices_SetPaymentTypeInvoice","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentTypeId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/Rows":{"get":{"tags":["Invoices"],"summary":"Get a list with all Invoice rows for a given Invoice.","operationId":"Invoices_GetInvoiceRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","description":"The Invoice identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceRow"}}}}}},"/v1/Invoices/{invoiceId}/MissingRows":{"get":{"tags":["Invoices"],"summary":"Get a list of OrderRows that have not been invoiced yet.","operationId":"Invoices_GetRowsToAdd","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"invoiceId","in":"path","description":"The Invoice identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderRow"}}}}}},"/v1/Invoices/{invoiceId}/AddRows":{"post":{"tags":["Invoices"],"summary":"Add OrderRows to the Invoice based on the OrderRow identifiers.","operationId":"Invoices_AddRowsToInvoice","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"orderRowIds","in":"body","description":"","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Invoices/{invoiceId}/RemoveRows":{"post":{"tags":["Invoices"],"operationId":"Invoices_RemoveRowsFromInvoice","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"invoiceId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"invoiceRowIds","in":"body","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/BaseInvoiceStatuses":{"get":{"tags":["InvoiceStatuses"],"summary":"Get a list with the base invoice statuses.","operationId":"InvoiceStatuses_GetAllBaseInvoiceStatuses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/BaseInvoiceStatus"}}}}}},"/v1/InvoiceStatusTypes":{"get":{"tags":["InvoiceStatuses"],"summary":"Get a list with the Invoice Status types.","operationId":"InvoiceStatuses_GetAllOrderStatusTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceStatusType"}}}}}},"/v1/Shops/{shopId}/InvoiceStatuses":{"get":{"tags":["InvoiceStatuses"],"summary":"Get a list with all available Invoice Statuses, for given shop.","operationId":"InvoiceStatuses_GetAllOrderStatusesForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceStatusBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/InvoiceStatuses":{"get":{"tags":["InvoiceStatuses"],"summary":"Get a list with all available Invoice Statuses, for given shop owner.","operationId":"InvoiceStatuses_GetAllOrderStatusesForShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shop owner.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceStatusBasicInfo"}}}}}},"/v1/InvoiceStatuses/{id}":{"get":{"tags":["InvoiceStatuses"],"summary":"Get detailed information about a OrderStatus.","operationId":"InvoiceStatuses_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/InvoiceStatusDefinition"}}}}},"/v1/Shops/{shopId}/MessageConversations":{"get":{"tags":["MessageConversations"],"summary":"Get a list with all available MessageConversations for the given ShopId.","operationId":"MessageConversations_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MessageConversationBasicInfo"}}}}},"post":{"tags":["MessageConversations"],"summary":"Creates a new MessageConversation.","operationId":"MessageConversations_CreateMessageConversation","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"newEntity","in":"body","description":"The new MessageConversation","required":true,"schema":{"$ref":"#/definitions/MessageConversationChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MessageConversation"}}}}},"/v1/Shops/{shopId}/MessageConversations/{messageConversationId}":{"get":{"tags":["MessageConversations"],"summary":"Get detailed information about a MessageConversation.","operationId":"MessageConversations_GetMessageConversation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"The id of the MessageConversation.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MessageConversation"}}}},"put":{"tags":["MessageConversations"],"summary":"Updates an MessageConversation","operationId":"MessageConversations_UpdateMessageConversation","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"Id of MessageConversation","required":true,"type":"integer","format":"int32"},{"name":"updatedMessageConversation","in":"body","description":"The updated MessageConversation","required":true,"schema":{"$ref":"#/definitions/MessageConversationChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MessageConversation"}}}}},"/v1/Shops/{shopId}/MessageConversations/{messageConversationId}/Messages":{"get":{"tags":["Messages"],"summary":"Get a list with all available Messages for the given ShopId and MessageConversationId.","operationId":"Messages_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"The id of the MessageConversation.","required":true,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MessageBasicInfo"}}}}},"post":{"tags":["Messages"],"summary":"Creates a new Message.","operationId":"Messages_CreateMessage","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"The id of the MessageConversation.","required":true,"type":"integer","format":"int32"},{"name":"newEntity","in":"body","description":"The new Message","required":true,"schema":{"$ref":"#/definitions/MessageChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Message"}}}}},"/v1/Shops/{shopId}/MessageConversations/{messageConversationId}/Messages/{messageId}":{"get":{"tags":["Messages"],"summary":"Get detailed information about a Message.","operationId":"Messages_GetMessage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"The id of the MessageConversation.","required":true,"type":"integer","format":"int32"},{"name":"messageId","in":"path","description":"The id of the Message.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Message"}}}},"put":{"tags":["Messages"],"summary":"Updates a Message","operationId":"Messages_UpdateMessageConversation","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"messageConversationId","in":"path","description":"Id of MessageConversation","required":true,"type":"integer","format":"int32"},{"name":"messageId","in":"path","description":"The id of the Message.","required":true,"type":"integer","format":"int32"},{"name":"updatedMessage","in":"body","description":"The updated Message","required":true,"schema":{"$ref":"#/definitions/MessageChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Message"}}}}},"/v1/Shops/{shopId}/Offers":{"get":{"tags":["Offers"],"summary":"Get a list with all available Offers, for the given shop.","operationId":"Offers_GetAllOffers","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed Offers.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed Offers.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"mainStatusBaseStatusId","in":"query","description":"Optionally specify a base status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"emailAddress","in":"query","description":"Optionally specify an email address. If specified only Offers with given email address in the Bill To info will be returned.","required":false,"type":"string"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OfferBasicInfo"}}}}},"post":{"tags":["Offers"],"summary":"Add a new Offer.","operationId":"Offers_AddOffer","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop to create the Offer for.","required":true,"type":"integer","format":"int32"},{"name":"offerChanges","in":"body","description":"The Offer data","required":true,"schema":{"$ref":"#/definitions/OfferChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Offer"}}}}},"/v1/Offers":{"put":{"tags":["Offers"],"summary":"Update an existing Offer.","operationId":"Offers_UpdateOffer","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"offer","in":"body","description":"The Offer.","required":true,"schema":{"$ref":"#/definitions/OfferChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Offers/{offerId}":{"get":{"tags":["Offers"],"summary":"Get detailed information about an Offer.","operationId":"Offers_GetOffer","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"offerId","in":"path","description":"The id of the Offer.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Offer"}}}},"delete":{"tags":["Offers"],"summary":"Delete given Offer.","operationId":"Offers_DeleteOffer","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The Offer Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Offers/{offerCode}":{"get":{"tags":["Offers"],"summary":"Get detailed information about an Offer.","operationId":"Offers_GetOrderbyOfferCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"offerCode","in":"path","description":"The unique ShopCtrl Offer code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Offer"}}}}},"/v1/Shops/{shopId}/Offers/{offerCode}/offerId":{"get":{"tags":["Offers"],"summary":"Get the ShopCtrl Offer Id based on the offerCode.","operationId":"Offers_GetofferIdByOfferCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"offerCode","in":"path","description":"The unique ShopCtrl Offer code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/v1/Offers/{offerId}/Rows":{"get":{"tags":["Offers"],"summary":"Get a list with all Offer rows for a given Offer.","operationId":"Offers_GetOfferRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"offerId","in":"path","description":"The Offer identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OfferRow"}}}}},"put":{"tags":["Offers"],"summary":"Update an existing Offer row.","operationId":"Offers_UpdateOfferRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The Offer identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The Offer Row.","required":true,"schema":{"$ref":"#/definitions/OfferRow"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Offers"],"summary":"Adds the specified Offer row.","operationId":"Offers_AddOfferRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The Offer identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The Offer Row.","required":true,"schema":{"$ref":"#/definitions/OfferRow"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Offers/{offerId}/Rows/{offerRowId}":{"delete":{"tags":["Offers"],"summary":"Delete given Offer row.","operationId":"Offers_DeleteOfferRow","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The Offer identifier.","required":true,"type":"integer","format":"int32"},{"name":"offerRowId","in":"path","description":"The Offer row identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Offers/{offerId}/CarrierAccount/{carrierAccountId}":{"put":{"tags":["Offers"],"summary":"Update the Offer Carrier Account.","operationId":"Offers_SetCarrierAccount","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The Offer identifier.","required":true,"type":"integer","format":"int32"},{"name":"carrierAccountId","in":"path","description":"The id the CarrierAccount.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Offers/{offerId}/Parameters":{"get":{"tags":["Offers"],"summary":"Get all Offer Parameters.","operationId":"Offers_GetOfferParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"offerId","in":"path","description":"The id of the offer.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Parameter"}}}}},"put":{"tags":["Offers"],"summary":"Update an Offer Parameter.","operationId":"Offers_UpdateOfferParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The id of the offer.","required":true,"type":"integer","format":"int32"},{"name":"offerParameter","in":"body","description":"The Offer Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Offers"],"summary":"Add an Offer Parameter.","operationId":"Offers_AddOfferParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The id of the offer.","required":true,"type":"integer","format":"int32"},{"name":"offerParameter","in":"body","description":"The Offer Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Offers/{offerId}/Parameters/{key}":{"get":{"tags":["Offers"],"summary":"Get a single Offer Parameter.","operationId":"Offers_GetSingleOfferParameter","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"offerId","in":"path","description":"The id of the offer.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The offer parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parameter"}}}},"put":{"tags":["Offers"],"summary":"Update an Offer Parameter.","operationId":"Offers_UpdateOfferParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The id of the offer.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The offer parameter key.","required":true,"type":"string"},{"name":"value","in":"query","description":"The offer parameter value to set.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Offers"],"summary":"Delete a specific Offer Parameter.","operationId":"Offers_DeleteOfferParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"offerId","in":"path","description":"The offer identifier.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The offer parameter key to delete.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/OffersExists":{"get":{"tags":["Offers"],"operationId":"Offers_OffersExists","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"offerCodes","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OffersExistsResponse"}}}}},"/v1/Shops/{shopId}/Orders":{"get":{"tags":["Orders"],"summary":"Get a list with all available Orders, for given shop.","operationId":"Orders_GetAllOrders","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify an until date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"mainStatusBaseStatusId","in":"query","description":"Optionally specify a base status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"emailAddress","in":"query","description":"Optionally specify an email address. If specified only Orders with given email address in the Bill To info will be returned.","required":false,"type":"string"},{"name":"fromDateDeleted","in":"query","description":"Optionally specify a from date for deleted orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateDeleted","in":"query","description":"Optionally specify an until date for deleted orders.","required":false,"type":"string","format":"date-time"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderBasicInfo"}}}}},"post":{"tags":["Orders"],"summary":"Add a new Order.","operationId":"Orders_AddOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop to create the order for","required":true,"type":"integer","format":"int32"},{"name":"order","in":"body","description":"The order data","required":true,"schema":{"$ref":"#/definitions/OrderChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Order"}}}}},"/v1/Orders":{"put":{"tags":["Orders"],"summary":"Update an existing Order.","operationId":"Orders_UpdateOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"order","in":"body","description":"The order.","required":true,"schema":{"$ref":"#/definitions/OrderChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}":{"get":{"tags":["Orders"],"summary":"Get detailed information about an Order.","operationId":"Orders_GetOrder","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"includeDeleted","in":"query","description":"Optionally specify if deleted orders should be retrieved (not included by default).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Order"}}}},"delete":{"tags":["Orders"],"summary":"Delete given Order.","operationId":"Orders_DeleteOrder","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The Order Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/DetailedOrders/{orderId}":{"get":{"tags":["Orders"],"summary":"Get very detailed information about an Order.","operationId":"Orders_GetDetailedOrder","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"includeDeleted","in":"query","description":"Optionally specify if deleted orders should be retrieved (not included by default).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DetailedOrder"}}}}},"/v1/Shops/{shopId}/Orders/{orderCode}":{"get":{"tags":["Orders"],"summary":"Get detailed information about an Order.","operationId":"Orders_GetOrderByOrderCode","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The unique ShopCtrl Order code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Order"}}}}},"/v1/Shops/{shopId}/Orders/{orderCode}/OrderId":{"get":{"tags":["Orders"],"summary":"Get the ShopCtrl Order Id based on the OrderCode.","operationId":"Orders_GetOrderIdByOrderCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The unique ShopCtrl Order code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/v1/Shops/{shopId}/OrdersByExternalOrderKey/{externalOrderKey}":{"get":{"tags":["Orders"],"summary":"Get detailed information about an Order.","operationId":"Orders_GetByExternalOrderKey","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop which is the owner of the order.","required":true,"type":"integer","format":"int32"},{"name":"externalOrderKey","in":"path","description":"The external order key to find.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Order"}}}}},"/v1/Orders/{orderId}/Parameters":{"get":{"tags":["Orders"],"summary":"Get all Order Parameters.","operationId":"Orders_GetOrderParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The id of the order.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Parameter"}}}}},"put":{"tags":["Orders"],"summary":"Update an Order Parameter.","operationId":"Orders_UpdateOrderParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the order.","required":true,"type":"integer","format":"int32"},{"name":"orderParameter","in":"body","description":"The Order Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Add an Order Parameter.","operationId":"Orders_AddOrderParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the order.","required":true,"type":"integer","format":"int32"},{"name":"orderParameter","in":"body","description":"The Order Parameter.","required":true,"schema":{"$ref":"#/definitions/Parameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Parameters/{key}":{"get":{"tags":["Orders"],"summary":"Get a single Order Parameter.","operationId":"Orders_GetSingleOrderParameter","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The id of the order.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parameter"}}}},"put":{"tags":["Orders"],"summary":"Update an Order Parameter.","operationId":"Orders_UpdateOrderParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the order.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order parameter key.","required":true,"type":"string"},{"name":"value","in":"query","description":"The order parameter value to set.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Orders"],"summary":"Delete a specific Order Parameter.","operationId":"Orders_DeleteOrderParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order parameter key to delete.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Rows":{"get":{"tags":["Orders"],"summary":"Get a list with all order rows for a given order.","operationId":"Orders_GetOrderRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderRow"}}}}},"put":{"tags":["Orders"],"summary":"Update an existing order row.","operationId":"Orders_UpdateOrderRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The order Row.","required":true,"schema":{"$ref":"#/definitions/OrderRow"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Adds the specified order row.","operationId":"Orders_AddOrderRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The order Row.","required":true,"schema":{"$ref":"#/definitions/OrderRow"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Rows/{orderRowId}":{"delete":{"tags":["Orders"],"summary":"Delete given order row.","operationId":"Orders_DeleteOrderRow","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/ShippableOrderRows":{"get":{"tags":["Orders"],"summary":"Returns orderrows that are ready for fulfilment, but were not yet assigned to an shipment.","operationId":"Orders_GetShippableOrderRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifie","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShippableOrderRowsInfo"}}}}},"/v1/Orders/{orderId}/ProductRegistrations":{"get":{"tags":["Orders"],"summary":"Get the ProductRegistration entries registered to an order.","operationId":"Orders_GetOrderProductRegistration","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductRegistration"}}}}}},"/v1/Orders/{orderId}/Rows/{orderRowId}/ProductRegistrations":{"get":{"tags":["Orders"],"summary":"Get all ProductRegistrations registered to an orderrow.","operationId":"Orders_GetOrderRowProductRegistration","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductRegistration"}}}}},"put":{"tags":["Orders"],"summary":"Updates a ProductRegistration.","operationId":"Orders_UpdateProductRegistration","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"},{"name":"productRegistration","in":"body","description":"The ProductRegisration changes object","required":true,"schema":{"$ref":"#/definitions/ProductRegistrationChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductRegistration"}}}},"post":{"tags":["Orders"],"summary":"Add a new ProductRegistration.","operationId":"Orders_AddProductRegistration","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"},{"name":"productRegistration","in":"body","description":"The ProductRegisration changes object","required":true,"schema":{"$ref":"#/definitions/ProductRegistrationChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductRegistration"}}}}},"/v1/Orders/{orderId}/Rows/{orderRowId}/ProductRegistrations/{productRegistrationId}":{"delete":{"tags":["Orders"],"summary":"Delete a given ProductRegistration.","operationId":"Orders_DeleteProductRegisration","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"},{"name":"productRegistrationId","in":"path","description":"The ProductRegisration identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/OrderComments":{"get":{"tags":["Orders"],"summary":"Get a list with all order comments of a given order.","operationId":"Orders_GetOrderComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The identifier of the order.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderComment"}}}}},"put":{"tags":["Orders"],"summary":"Updates the specified order comment.","operationId":"Orders_UpdateOrderComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderComment","in":"body","description":"The order comment.","required":true,"schema":{"$ref":"#/definitions/OrderCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Adds the specified order comment.","operationId":"Orders_AddOrderComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderComment","in":"body","description":"The order comment.","required":true,"schema":{"$ref":"#/definitions/OrderCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/OrderComments/{orderCommentId}":{"delete":{"tags":["Orders"],"summary":"Delete the given OrderComment.","operationId":"Orders_DeleteOrderComment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The Order Id","required":true,"type":"integer","format":"int32"},{"name":"orderCommentId","in":"path","description":"The OrderComment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Payments":{"get":{"tags":["Orders"],"summary":"Get a list with all payments for a given order.","operationId":"Orders_GetOrderPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Payment"}}}}},"put":{"tags":["Orders"],"summary":"Update an existing Payment.","operationId":"Orders_UpdatePayment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"payment","in":"body","description":"The Payment.","required":true,"schema":{"$ref":"#/definitions/PaymentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Adds the specified payment.","operationId":"Orders_AddOrderPayment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"payment","in":"body","description":"The order payment.","required":true,"schema":{"$ref":"#/definitions/PaymentChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Payment"}}}}},"/v1/Orders/{orderId}/MainStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Main Order status.","operationId":"Orders_SetMainOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/MainStatus":{"put":{"tags":["Orders"],"summary":"Update the Main Order status.","operationId":"Orders_SetMainOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Main Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/FulfilmentStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Fulfillment Order status.","operationId":"Orders_SetFulfilmentOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/FulfilmentStatus":{"put":{"tags":["Orders"],"summary":"Update the Fulfilment Order status.","operationId":"Orders_SetFulfilmentOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Fulfilment Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/ShipmentStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Shipment Order status.","operationId":"Orders_SetShipmentOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/ShipmentStatus":{"put":{"tags":["Orders"],"summary":"Update the Shipment Order status.","operationId":"Orders_SetShipmentOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Shipment Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/StockStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Stock Order status.","operationId":"Orders_SetStockOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/StockStatus":{"put":{"tags":["Orders"],"summary":"Update the Stock Order status.","operationId":"Orders_SetStockOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Stock Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/PaymentStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Payment Order status.","operationId":"Orders_SetPaymentOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/PaymentStatus":{"put":{"tags":["Orders"],"summary":"Update the Payment Order status.","operationId":"Orders_SetPaymentOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Payment Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/CustomStatus/{statusId}":{"put":{"tags":["Orders"],"summary":"Update the Custom Order status.","operationId":"Orders_SetCustomOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/CustomStatus":{"put":{"tags":["Orders"],"summary":"Update the Custom Order status.","operationId":"Orders_SetCustomOrderStatus","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"orderStatusChanges","in":"body","description":"The new values for the Custom Order status.","required":true,"schema":{"$ref":"#/definitions/OrderStatusChangeForOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/CustomerRating/{rating}":{"put":{"tags":["Orders"],"summary":"Update the Customer Rating value of an Order.","operationId":"Orders_UpdateCustomerRating","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"rating","in":"path","description":"The rating to set.","required":true,"type":"string","enum":["Rated0Stars","Rated1Star","Rated2Stars","Rated3Stars","Rated4Stars","Rated5Stars","NotRated","InvitationSent","DoNotSendInvitation"]}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Allocate":{"put":{"tags":["Orders"],"operationId":"Orders_AllocateOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"allocateOrderInfo","in":"body","required":true,"schema":{"$ref":"#/definitions/AllocateOrderInfo"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Deallocate":{"put":{"tags":["Orders"],"operationId":"Orders_DeallocateOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"deallocateOrderInfo","in":"body","required":true,"schema":{"$ref":"#/definitions/DeallocateOrderInfo"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Parcels":{"get":{"tags":["Orders"],"summary":"Get a list with all Parcel for a given order.","operationId":"Orders_GetOrderParcels","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Parcel"}}}}},"put":{"tags":["Orders"],"summary":"Update an existing Parcel.","operationId":"Orders_UpdateParcel","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"parcel","in":"body","description":"The Parcel.","required":true,"schema":{"$ref":"#/definitions/ParcelChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Adds the specified Parcel.","operationId":"Orders_AddParcel","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"parcel","in":"body","description":"The Parcel.","required":true,"schema":{"$ref":"#/definitions/ParcelChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}}},"/v1/Orders/{orderId}/Shipments":{"get":{"tags":["Orders"],"summary":"Get a list with all Shipments for a given order.","operationId":"Orders_GetOrderShipments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Shipment"}}}}},"post":{"tags":["Orders"],"summary":"Creates a new shipment for an order.","description":"There are three methods to create a shipment:\r\n<p><ol><li><b>Full automatic mode</b><br /> Leave both WarehouseId and OrderRow collection empty.<br />ShopCtrl will determine what orderrows should be shipped and automatically select the warehouse based on the first orderrow. Only the OrderRows that are allocated for the same warehouse as the firsty OrderRow are added. OrderRows that are allocated for a different warehouse are ignored.</li><li><b>Specify warehouse</b><br /> Set WarehousId and leave the OrderRow collection empty.<br /> ShopCtrl will add all shipppable orderrows allocated for the warehouse to the shipment.</li><li><b>Specify both warehouse and set of orderrows</b><br />ShopCtrl will only add the orderrows specified to the shipment provided that they are allocated for Warehouse identified by WarehouseId.</li></ol></p>","operationId":"Orders_CreateShipment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"shipmentInfo","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/AddShipmentInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Orders/{orderId}/Returns":{"get":{"tags":["Orders"],"summary":"Get a list with all Returns for a given order.","operationId":"Orders_GetOrderReturns","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Orders/{orderId}/Invoices":{"get":{"tags":["Orders"],"summary":"Get a list with all Invoices for a given order.","operationId":"Orders_GetInvoices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceBase"}}}}},"post":{"tags":["Orders"],"summary":"Auto create an Invoice for given order. An Invoice will be created for all order rows which are not invoiced yet.\r\nWhen there are no order rows to invoice, null will be returned.","operationId":"Orders_AutoCreateInvoice","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/InvoiceBase"}}}}},"/v1/Orders/{orderId}/CarrierAccount/{carrierAccountID}":{"put":{"tags":["Orders"],"summary":"Update the Order Carrier Account.","operationId":"Orders_SetCarrierAccount","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"carrierAccountID","in":"path","description":"The id the CarrierAccount.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/OrderRows/{orderRowId}/Parameters":{"get":{"tags":["Orders"],"summary":"Get all Order Row Parameters.","operationId":"Orders_GetOrderRowParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderRowId","in":"path","description":"The id of the order row.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderRowParameter"}}}}},"put":{"tags":["Orders"],"summary":"Update an Order Row Parameter.","operationId":"Orders_UpdateOrderRowParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderRowId","in":"path","description":"The id of the order row.","required":true,"type":"integer","format":"int32"},{"name":"orderRowParameter","in":"body","description":"The Order Row Parameter.","required":true,"schema":{"$ref":"#/definitions/OrderRowParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Add an Order Row Parameter.","operationId":"Orders_AddOrderRowParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderRowId","in":"path","description":"The id of the order row.","required":true,"type":"integer","format":"int32"},{"name":"orderRowParameter","in":"body","description":"The Order Row Parameter.","required":true,"schema":{"$ref":"#/definitions/OrderRowParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Orders/{orderCode}/{orderRowKey}/Parameters":{"get":{"tags":["Orders"],"summary":"Get all Order Row Parameters.","operationId":"Orders_GetOrderRowParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderRowParameter"}}}}},"put":{"tags":["Orders"],"summary":"Update an Order Row Parameter.","operationId":"Orders_UpdateOrderRowParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"},{"name":"orderRowParameter","in":"body","description":"The Order Row Parameter.","required":true,"schema":{"$ref":"#/definitions/OrderRowParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Orders"],"summary":"Add an Order Row Parameter.","operationId":"Orders_AddOrderRowParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"},{"name":"orderRowParameter","in":"body","description":"The Order Row Parameter.","required":true,"schema":{"$ref":"#/definitions/OrderRowParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/OrderRows/{orderRowId}/Parameters/{key}":{"get":{"tags":["Orders"],"summary":"Get a single Order Row Parameter.","operationId":"Orders_GetSingleOrderRowParameter","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderRowId","in":"path","description":"The id of the order row.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order row parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderRowParameter"}}}},"put":{"tags":["Orders"],"summary":"Update an Order Row Parameter.","operationId":"Orders_UpdateOrderRowParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderRowId","in":"path","description":"The id of the order row.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order row parameter key.","required":true,"type":"string"},{"name":"value","in":"query","description":"The order row parameter value to set.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Orders"],"summary":"Delete a specific Order Row Parameter.","operationId":"Orders_DeleteOrderRowParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The order row parameter key to delete.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Orders/{orderCode}/{orderRowKey}/Parameters/{key}":{"get":{"tags":["Orders"],"summary":"Get a single Order Row Parameter.","operationId":"Orders_GetSingleOrderRowParameter","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"},{"name":"key","in":"path","description":"The order row parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderRowParameter"}}}},"put":{"tags":["Orders"],"summary":"Update an Order Row Parameter.","operationId":"Orders_UpdateOrderRowParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"},{"name":"key","in":"path","description":"The order row parameter key.","required":true,"type":"string"},{"name":"value","in":"query","description":"The order row parameter value to set.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Orders"],"summary":"Delete a specific Order Row Parameter.","operationId":"Orders_DeleteOrderRowParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop's id","required":true,"type":"integer","format":"int32"},{"name":"orderCode","in":"path","description":"The Order Code","required":true,"type":"string"},{"name":"orderRowKey","in":"path","description":"The Order Row Key","required":true,"type":"string"},{"name":"key","in":"path","description":"The order row parameter key to delete.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Files":{"get":{"tags":["Orders"],"summary":"Gets Order files.","operationId":"Orders_GetFiles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/FileBase"}}}}},"post":{"tags":["Orders"],"summary":"Adds the file. \r\nThe action expects the file as binary data in the request body. \r\nThe action requires the \"filename\" header to be defined, with the correct file extension.\r\nThe action sets up the \"FileID\" response header.","operationId":"Orders_AddFile","consumes":["image/bmp","image/png","image/jpg","image/jpeg","image/gif","text/csv","text/plain","audio/wav","audio/mpeg","video/mp4","video/mpeg","application/pdf","application/json","application/octet-stream"],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The Order id","required":true,"type":"integer","format":"int32"},{"name":"file","in":"body","description":"File data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/Files/{fileId}":{"delete":{"tags":["Orders"],"summary":"Deletes the Order file.","operationId":"Orders_DeleteFile","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"orderId","in":"path","description":"The Order id","required":true,"type":"integer","format":"int32"},{"name":"fileId","in":"path","description":"The file id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Orders/{orderId}/StockItems":{"get":{"tags":["Orders"],"summary":"Returns a list of StockItems for the given OrderID","operationId":"Orders_GetStockItemsForOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"The OrderID of the order","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockItemWithOrderRow"}}}}},"put":{"tags":["Orders"],"summary":"Update advanced properties of StockItem (LotNumber, ExpiryDate, SerialNumber) assigned to an OrderRow","operationId":"Orders_UpdateStockItemsForOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderId","in":"path","description":"Id of order","required":true,"type":"integer","format":"int32"},{"name":"updatedStockItems","in":"body","description":"Array of updated StockItems. Note that the combination of StockItemId, OrderRowId and ProductID must match a StockItem. Use Orders/{orderId}/StockItems endpoint to get the StockItems fot an order. You can only update field that are required by product configuration","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/StockItemWithOrderRow"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockItemWithOrderRow"}}}}}},"/v1/Shops/{shopId}/OrdersExists":{"get":{"tags":["Orders"],"operationId":"Orders_OrdersExists","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"orderCodes","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrdersExistsResponse"}}}}},"/v1/BaseOrderStatuses":{"get":{"tags":["OrderStatuses"],"summary":"Get a list with the base order statuses.","operationId":"OrderStatuses_GetAllBaseOrderStatuses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/BaseOrderStatus"}}}}}},"/v1/OrderStatusTypes":{"get":{"tags":["OrderStatuses"],"summary":"Get a list with the Order Status types.","operationId":"OrderStatuses_GetAllOrderStatusTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderStatusType"}}}}}},"/v1/Shops/{shopId}/OrderStatuses":{"get":{"tags":["OrderStatuses"],"summary":"Get a list with all available Orders Statuses, for given shop.","operationId":"OrderStatuses_GetAllOrderStatusesForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderStatusBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/OrderStatuses":{"get":{"tags":["OrderStatuses"],"summary":"Get a list with all available Order Statuses, for given shop owner.","operationId":"OrderStatuses_GetAllOrderStatusesForShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shop owner.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderStatusBasicInfo"}}}}}},"/v1/OrderStatuses/{id}":{"get":{"tags":["OrderStatuses"],"summary":"Get detailed information about a OrderStatus.","operationId":"OrderStatuses_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the OrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderStatusDefinition"}}}},"delete":{"tags":["OrderStatuses"],"summary":"Delete a given OrderStatus.","operationId":"OrderStatuses_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderStatus Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/OrderStatuses":{"put":{"tags":["OrderStatuses"],"summary":"Update an existing OrderStatus.","operationId":"OrderStatuses_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"orderStatus","in":"body","description":"The OrderStatus changes object","required":true,"schema":{"$ref":"#/definitions/OrderStatusChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["OrderStatuses"],"summary":"Add a new OrderStatus.","operationId":"OrderStatuses_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderStatus","in":"body","description":"The OrderStatus changes object","required":true,"schema":{"$ref":"#/definitions/OrderStatusChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderStatusDefinition"}}}}},"/v1/Shops/{shopId}/Parcels":{"get":{"tags":["Parcels"],"summary":"Get a list with available Parcels, for given shop.","operationId":"Parcels_GetAllParcels","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"parcelStatusId","in":"query","description":"Optionally specify a status id (or ids separated by commas) to filter on.","required":false,"type":"string"},{"name":"carrierAccountId","in":"query","description":"Optionally specify a carrier account id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ParcelBasicInfo"}}}}}},"/v1/Parcels/{parcelId}":{"get":{"tags":["Parcels"],"summary":"Get detailed information about a Parcel.","operationId":"Parcels_GetParcel","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"The id of the Parcel.","required":true,"type":"integer","format":"int32"},{"name":"forceUpdateDeliveryStatus","in":"query","description":"When true, the delivery status is also checked.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}},"put":{"tags":["Parcels"],"summary":"Update parcel","operationId":"Parcels_UpdateParcel","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"Id of parcel","required":true,"type":"integer","format":"int32"},{"name":"changes","in":"body","description":"Changes to parcel","required":true,"schema":{"$ref":"#/definitions/ParcelChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}},"delete":{"tags":["Parcels"],"summary":"Delete given Parcel.","operationId":"Parcels_DeleteParcel","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"The Parcel Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Parcels/{trackingCode}":{"get":{"tags":["Parcels"],"summary":"Get detailed information about a Parcel, based on the unique tracking code.","operationId":"Parcels_GetParcelByTrackingCode","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"trackingCode","in":"path","description":"The tracking code of the Parcel.","required":true,"type":"string"},{"name":"forceUpdateDeliveryStatus","in":"query","description":"When true, the delivery status is also checked.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}}},"/v1/Parcels":{"post":{"tags":["Parcels"],"summary":"Add a new Parcel with tracking info.","operationId":"Parcels_AddParcel","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"parcel","in":"body","description":"The parcel.","required":true,"schema":{"$ref":"#/definitions/ParcelChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}}},"/v1/Parcels/{parcelId}/Status/{statusId}":{"put":{"tags":["Parcels"],"summary":"Update status of parcel","operationId":"Parcels_UpdateParcelStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"Id of parcel","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"New status","required":true,"type":"string","enum":["NotPlanned","Planning","Planned","Shipping","Delivered","Cancelled","Exception","Deleted","Partiallydelivered","AvailableForPickup","InTransit","OutForDelivery","FailedAttempt","Expired","ReturnToSender","Delayed","Sorted","Labelled"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}}},"/v1/Parcels/{trackingCode}/ProductInfo":{"get":{"tags":["Parcels"],"summary":"Return available product and invoice info for given trackingcode.","operationId":"Parcels_GetParcelValueByTrackingCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"trackingCode","in":"path","description":"The trackingcode of the parcel","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ParcelsProductInfoResponse"}}}}}},"/v1/Parcels/{parcelId}/ShippingLabelFile":{"get":{"tags":["Parcels"],"summary":"Download the Shipping Label","operationId":"Parcels_GetShippingLabel","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"The Parcel Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Parcels"],"summary":"Upload the Shipping Label (The file must be a PDF)","operationId":"Parcels_PostShippingLabel","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"The Parcel Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Parcels/{parcelId}/CarrierParameters":{"get":{"tags":["Parcels"],"summary":"Get all Parcel's Carrier Parameters.","operationId":"Parcels_GetParcelCarrierParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"parcelId","in":"path","description":"The id of the Parcel.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StorablePropValue"}}}}}},"/v1/Parcels/{parcelId}/CarrierParameters/{key}":{"post":{"tags":["Parcels"],"summary":"Adds or updates the specified Parcel's Carrier Parameter.","operationId":"Parcels_SetCarrierParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"parcelId","in":"path","description":"The id of the Parcel.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The Carrier Parameter key.","required":true,"type":"string"},{"name":"carrierParameterValue","in":"body","description":"The Carrier Parameter value.","required":true,"schema":{"$ref":"#/definitions/CarrierParameterValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/ParcelsExists":{"get":{"tags":["Parcels"],"operationId":"Parcels_ParcelsExists","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"parcelCodes","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ParcelsExistsResponse"}}}}},"/v1/Shops/{shopId}/PaymentTypes":{"get":{"tags":["Payments"],"summary":"Get a list with all available PaymentTypes for given shop.","operationId":"Payments_GetPaymentTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PaymentType"}}}}}},"/v1/Shops/{shopId}/PaymentTerms":{"get":{"tags":["Payments"],"summary":"Get a list with all available PaymentTerms for given shop.","operationId":"Payments_GetPaymentTerms","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PaymentTerm"}}}}}},"/v1/Payments/{paymentId}":{"delete":{"tags":["Payments"],"summary":"Delete given Payment.","operationId":"Payments_DeletePayment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"paymentId","in":"path","description":"The PaymentId Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopGroups/{shopGroupId}/ProductGroups":{"get":{"tags":["ProductGroups"],"summary":"Get a list with all available Product groups, for given shop group.","operationId":"ProductGroups_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the shop group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductGroupBasicInfo"}}}}}},"/v1/ShopGroups/{shopGroupId}/RootProductGroups":{"get":{"tags":["ProductGroups"],"summary":"Get a list with all Root Product groups, for given shop group.","operationId":"ProductGroups_GetAllRootProductGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the shop group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductGroupBasicInfo"}}}}}},"/v1/ProductGroups/{productGroupId}/Childs":{"get":{"tags":["ProductGroups"],"summary":"Get a list with all Childs Product groups, for given Product Group.","operationId":"ProductGroups_GetAllChildProductGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroupId","in":"path","description":"The id of the product group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductGroupBasicInfo"}}}}}},"/v1/ProductGroups/{productGroupId}":{"get":{"tags":["ProductGroups"],"summary":"Get detailed information about a Product group.","operationId":"ProductGroups_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroupId","in":"path","description":"The id of the Product group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductGroup"}}}},"delete":{"tags":["ProductGroups"],"summary":"Delete given Product group. The children of the Product group will also be deleted.","operationId":"ProductGroups_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productGroupId","in":"path","description":"The Product group Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ProductGroups":{"put":{"tags":["ProductGroups"],"summary":"Update an existing Product group.","operationId":"ProductGroups_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productGroup","in":"body","description":"The product group.","required":true,"schema":{"$ref":"#/definitions/ProductGroupChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ProductGroups"],"summary":"Add a new Product group.","operationId":"ProductGroups_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroup","in":"body","description":"The product group.","required":true,"schema":{"$ref":"#/definitions/ProductGroupChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductGroup"}}}}},"/v1/ProductGroups/{productGroupId}/Image":{"get":{"tags":["ProductGroups"],"summary":"Get the Product group image.","operationId":"ProductGroups_GetImage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroupId","in":"path","description":"The Product group Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/File"}}}},"post":{"tags":["ProductGroups"],"summary":"Post a new image for given Product group.","operationId":"ProductGroups_PostImage","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroupId","in":"path","description":"The Product group Id","required":true,"type":"integer","format":"int32"},{"name":"image","in":"body","description":"The image.","required":true,"schema":{"$ref":"#/definitions/File"}}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}},"delete":{"tags":["ProductGroups"],"summary":"Delete the Product group image.","operationId":"ProductGroups_DeleteImage","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productGroupId","in":"path","description":"The Product group Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ProductGroups/{productGroupId}/Products":{"get":{"tags":["ProductGroups"],"summary":"Get a list with all Products in given ProductGroup.","operationId":"ProductGroups_GetAllProductsInProductGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productGroupId","in":"path","description":"The id of the product group.","required":true,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"Size of the page.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page number.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductBasicInfo"}}}}}},"/v1/ShopGroup/{shopGroupId}/Products":{"get":{"tags":["Products"],"summary":"Get a list with all available Products, for given shop group.","operationId":"Products_GetProductsForShopGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the shop group.","required":true,"type":"integer","format":"int32"},{"name":"changedAfter","in":"query","description":"Filter products which are changed after given timestamp.","required":false,"type":"string","format":"date-time"},{"name":"search","in":"query","description":"Optionally specify a keyword search text. Following fields will be searched: Name, Code, HSCode, EAN.","required":false,"type":"string"},{"name":"published","in":"query","description":"Specify to true or false to search in Published products or not.","required":false,"type":"boolean"},{"name":"isLocked","in":"query","description":"Specify to filter on IsLocked property of products","required":false,"type":"boolean"},{"name":"includeQuantities","in":"query","description":"Indication if quantity fields should be populated. Default is true.","required":false,"type":"boolean"},{"name":"pageSize","in":"query","description":"Size of the page.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page number, starting at 1.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductListItem"}}}}}},"/v1/ShopGroup/{shopGroupId}/Products/{productCode}":{"get":{"tags":["Products"],"summary":"Get detailed information about a product, based on the unique ProductCode (SKU).","operationId":"Products_GetProductByProductCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The ShopGroup","required":true,"type":"integer","format":"int32"},{"name":"productCode","in":"path","description":"The unique ProductCode","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Product"}}}}},"/v1/Products/{productId}":{"get":{"tags":["Products"],"summary":"Get detailed information about a product.","operationId":"Products_GetProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Product"}}}},"delete":{"tags":["Products"],"summary":"Delete given Product.","operationId":"Products_DeleteProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products":{"put":{"tags":["Products"],"summary":"Update an existing Product.","operationId":"Products_UpdateProduct","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"product","in":"body","description":"The product.","required":true,"schema":{"$ref":"#/definitions/ProductChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Products"],"summary":"Add a new Product.","operationId":"Products_AddProduct","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"product","in":"body","description":"The product.","required":true,"schema":{"$ref":"#/definitions/ProductChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Product"}}}}},"/v1/Products/ReplaceableParts/ServiceProducts":{"post":{"tags":["Products"],"summary":"Retrieves a list of ServiceProducts where the ReplaceablePart are based on the given ProductIDs","operationId":"Products_GetReplaceablePartsServiceProductsForProducts","consumes":["application/json","text/json"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productIds","in":"body","description":"Collection of ProductIDs","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceProductsByProduct"}}}}}},"/v1/Products/ServiceProducts":{"post":{"tags":["Products"],"summary":"Retrieves the ServiceProducts for the provided ProductIDs","operationId":"Products_GetServiceProductsForProducts","consumes":["application/json","text/json"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productIds","in":"body","description":"Collection of ProductIDs","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceProductByProduct"}}}}}},"/v1/Products/{id}/ProductGroups":{"get":{"tags":["Products"],"summary":"Get all ProductGroups Assinged to the Product","operationId":"Products_GetProductGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductGroupBasicInfo"}}}}}},"/v1/Products/{id}/ProductGroups/{productGroupId}":{"post":{"tags":["Products"],"summary":"Adds or updates a ProductGroup to given Product.","operationId":"Products_AddOrUpdateProductGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productGroupId","in":"path","description":"The ProductSupplier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Products"],"summary":"Removes a ProductGroup from given Product.","operationId":"Products_RemoveProductGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productGroupId","in":"path","description":"The ProductSupplier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Lock":{"post":{"tags":["Products"],"operationId":"Products_LockProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Unlock":{"post":{"tags":["Products"],"operationId":"Products_UnlockProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/ConvertToGroupedProduct":{"post":{"tags":["Products"],"summary":"Converts a product to a GroupedProduct. Currently, we only have a bare minimum implementation where we only calculate stock for a grouped product based on available quantities of underlying (ProductRelation contains) products","operationId":"Products_ConvertToGroupedProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"Id of product","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Products/{code}":{"get":{"tags":["Products"],"summary":"Get product projection for a shop. This is a simplified shop view of a product. \r\nMost important changes compared to Full product view:\r\n<list type=\"bullet\"><item>Product Properties are already translated for the shop (Caption and Value)</item><item>Published is True when both Product.Punlished and ProductSelectionProduct.Active are True</item><item>Product Stock quantities are already filtered based on warehouses for shop</item><item>Prices are copied from ProductSelectionProduct</item></list>","operationId":"Products_GetProductForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","description":"Product Code (SKU)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopProduct"}}}}},"/v1/Shops/{shopId}/Products/{productId}":{"get":{"tags":["Products"],"summary":"Get product projection for a shop. This is a simplified shop view of a product.\r\nMost important changes compared to Full product view:\r\n<list type=\"bullet\"><item>Product Properties are already translated for the shop (Caption and Value)</item><item>Published is True when both Product.Punlished and ProductSelectionProduct.Active are True</item><item>Product Stock quantities are already filtered based on warehouses for shop</item><item>Prices are copied from ProductSelectionProduct</item></list>","operationId":"Products_GetProductForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"productId","in":"path","description":"Id of product","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopProduct"}}}}},"/v1/Shops/{shopId}/ProductsByCode/{code}":{"get":{"tags":["Products"],"summary":"Get product projection for a shop. This is a simplified shop view of a product. \r\nMost important changes compared to Full product view:\r\n<list type=\"bullet\"><item>Product Properties are already translated for the shop (Caption and Value)</item><item>Published is True when both Product.Punlished and ProductSelectionProduct.Active are True</item><item>Product Stock quantities are already filtered based on warehouses for shop</item><item>Prices are copied from ProductSelectionProduct</item></list>","operationId":"Products_GetProductForShopByCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","description":"Product Code (SKU)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopProduct"}}}}},"/v1/ShopGroups/{shopGroupId}/ShopProduct/{productId}":{"get":{"tags":["Products"],"operationId":"Products_GetShopProductsForShopgroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"productId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopProduct"}}}}}},"/v1/ShopGroups/{shopGroupId}/ShopProduct/{code}":{"get":{"tags":["Products"],"operationId":"Products_GetShopProductsForShopgroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopProduct"}}}}}},"/v1/ShopGroups/{shopGroupId}/ShopProductByCode/{code}":{"get":{"tags":["Products"],"operationId":"Products_GetShopProductsForShopgroupByCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopProduct"}}}}}},"/v1/Warehouse/{warehouseId}/GetExpectedBackInStock":{"get":{"tags":["Products"],"summary":"Get a list with all products currently not available in the warehouse, and try to determine the expected back in stock date based on Purchase Orders.\r\nAlso current backorders will be taken into account (will be allocated first).\r\nIf there are no PurchaseOrders for the product, the product will not be returned.","operationId":"Products_GetExpectedBackInStock","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The Warehouese Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductBackInStockInfo"}}}}}},"/v1/Products/{productId}/StockPerLocation":{"get":{"tags":["Products"],"summary":"Get a list with all available stock per WarehouseLocation.","operationId":"Products_GetProductStock","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The Product Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductStockLocationInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/ProductPropertyDefinitions":{"get":{"tags":["Products"],"summary":"Get all Product Property definitions.","operationId":"Products_GetProductPropertyDefinitions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the ShopOwner.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductPropertyDefinition"}}}}}},"/v1/ShopOwners/{shopOwnerId}/ProductPropertyDefinitions/{productPropertyDefId}":{"get":{"tags":["Products"],"operationId":"Products_GetProductPropertyDefinitions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"productPropertyDefId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductPropertyDefinition"}}}}},"/v1/Products/{productId}/Properties":{"get":{"tags":["Products"],"summary":"Get all Product Properties.","operationId":"Products_GetProductProperties","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductProperty"}}}}},"put":{"tags":["Products"],"summary":"Update a Product Property.","operationId":"Products_UpdateProductProperty","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"},{"name":"productProperty","in":"body","description":"The product property.","required":true,"schema":{"$ref":"#/definitions/ProductProperty"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Products"],"summary":"Add a Product Property.","operationId":"Products_AddProductProperty","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"},{"name":"productProperty","in":"body","description":"The product property.","required":true,"schema":{"$ref":"#/definitions/ProductProperty"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Products"],"summary":"Delete a specific Product Property.","operationId":"Products_DeleteProductProperty","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The product identifier.","required":true,"type":"integer","format":"int32"},{"name":"productProperty","in":"body","description":"The product property.","required":true,"schema":{"$ref":"#/definitions/ProductProperty"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/ProductSelectionProducts":{"get":{"tags":["Products"],"summary":"Get all Product Selection Products.","operationId":"Products_GetProductSelectionProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSelectionProduct"}}}}}},"/v1/Products/{productId}/Properties/{code}":{"post":{"tags":["Products"],"summary":"Add or update the Product Property implicitly creating a Product Property Definition if not found by the specified code.","operationId":"Products_AddProductProperty","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","description":"The property code.","required":true,"type":"string"},{"name":"propertyValue","in":"body","description":"The property value.","required":true,"schema":{"$ref":"#/definitions/PropertyValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Suppliers":{"get":{"tags":["Products"],"summary":"Get a list with all Suppliers who supply given product.","operationId":"Products_GetAllSupplierProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSupplierBase"}}}}}},"/v1/Products/{productId}/Suppliers/{productSupplierId}":{"get":{"tags":["Products"],"summary":"Get detailed information about the ProductSupplier.","operationId":"Products_GetProductSupplier","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productSupplierId","in":"path","description":"The id of the ProductSupplier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductSupplier"}}}},"delete":{"tags":["Products"],"summary":"Removes given ProductSupplier.","operationId":"Products_DeleteProductSupplier","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productSupplierId","in":"path","description":"The id of the ProductSupplier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{id}/Suppliers":{"post":{"tags":["Products"],"summary":"Adds or updates ProductSupplier","operationId":"Products_AddOrUpdateSupplier","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productSupplier","in":"body","description":"The ProductSupplier","required":true,"schema":{"$ref":"#/definitions/ProductSupplier"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductSupplier"}}}}},"/v1/PurchaseProduct/{purchaseProductId}":{"get":{"tags":["Products"],"summary":"Get detailed information about a PurchaseProduct.","operationId":"Products_GetPurchaseProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseProductId","in":"path","description":"The PurchaseProduct Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseProduct"}}}},"delete":{"tags":["Products"],"summary":"Remove given PurchaseProduct.","operationId":"Products_DeletePurchaseProduct","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseProductId","in":"path","description":"The id of the PurchaseProduct.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseProduct":{"put":{"tags":["Products"],"summary":"Update an existing PurchaseProduct.","operationId":"Products_UpdatePurchaseProduct","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseProduct","in":"body","description":"The purchase product.","required":true,"schema":{"$ref":"#/definitions/PurchaseProductChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopGroup/{shopGroupId}/ProductBrands":{"get":{"tags":["Products"],"summary":"Get a list with all available Product Brands, for given shop group.","operationId":"Products_GetProductBrandsForShopGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the shop group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductBrand"}}}}}},"/v1/Shopgroups/{shopGroupId}/ProductsExists":{"get":{"tags":["Products"],"operationId":"Products_ProductsExists","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopGroupId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"productCodes","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductExistsResponse"}}}}},"/v1/Products/{productId}/Image":{"post":{"tags":["Products"],"summary":"Upload the Product image","operationId":"Products_UploadImage","consumes":["image/bmp","image/png","image/jpg","image/jpeg"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product Id","required":true,"type":"integer","format":"int32"},{"name":"image","in":"body","description":"Image file data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources":{"get":{"tags":["Products"],"summary":"Get detailed information about the Product's Resources.","operationId":"Products_GetProductResources","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductResource"}}}}}},"/v1/Products/{productId}/Resources/{productResourceId}":{"get":{"tags":["Products"],"summary":"Get detailed information about the Product's Resource","operationId":"Products_GetProductResource","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"productResourceId","in":"path","description":"The Resource id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductResource"}}}},"delete":{"tags":["Products"],"summary":"Delete the specified Product's Resource","operationId":"Products_DeleteProductResource","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"productResourceId","in":"path","description":"The Resource id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/{productResourceId}/Upload":{"put":{"tags":["Products"],"summary":"Update the file of the specified Product's Resource. \r\nThe action requires the \"filename\" header to be defined, with the correct file extension.","operationId":"Products_UpdateProductResourceFile","consumes":["image/bmp","image/png","image/jpg","image/jpeg","image/gif","text/csv","text/plain","audio/wav","audio/mpeg","video/mp4","video/mpeg","application/pdf","application/json","application/octet-stream"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"productResourceId","in":"path","description":"The Resource id","required":true,"type":"integer","format":"int32"},{"name":"file","in":"body","description":"File data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/Upload":{"post":{"tags":["Products"],"summary":"Create a Product's Resource with the file.\r\nThe action requires the \"filename\" header to be defined, with the correct file extension.","operationId":"Products_CreateProductResourceFile","consumes":["image/bmp","image/png","image/jpg","image/jpeg","image/gif","text/csv","text/plain","audio/wav","audio/mpeg","video/mp4","video/mpeg","application/pdf","application/json","application/octet-stream"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"file","in":"body","description":"File data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/{productResourceId}/Download":{"get":{"tags":["Products"],"summary":"Downloads the specified Product's Resource file","operationId":"Products_DownloadProductResourceFile","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"productResourceId","in":"path","description":"The Resource id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/Link":{"post":{"tags":["Products"],"summary":"Add the Product Resource Link","operationId":"Products_AddProductResourceLink","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"linkData","in":"body","description":"The Link data","required":true,"schema":{"$ref":"#/definitions/ProductResourceLink"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/{productResourceId}/MetaData":{"put":{"tags":["Products"],"summary":"Add the Product Resource's meta data. \r\nThe meta data CultureId parameter is required - if not set, the Resource's CultureId will be set to null.\r\nAll other parameters are optional and are applied only if set in a request.","operationId":"Products_UpdateProductResourceMetaData","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"productResourceId","in":"path","description":"The Resource id","required":true,"type":"integer","format":"int32"},{"name":"metaData","in":"body","description":"The Resource metaData","required":true,"schema":{"$ref":"#/definitions/ProductResourceMetaData"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Resources/SharedFile":{"post":{"tags":["Products"],"summary":"Add a shared file as Product Resource","operationId":"Products_AddProductResourceSharedFile","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The Product id","required":true,"type":"integer","format":"int32"},{"name":"fileId","in":"query","description":"The File id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{productId}/Packages":{"get":{"tags":["Products"],"summary":"Gets a list with all Product Packanges.","operationId":"Products_GetAllPackages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductPackage"}}}}}},"/v1/Products/{productId}/Packages/{productPackageId}":{"get":{"tags":["Products"],"summary":"Get detailed information about the Product Package.","operationId":"Products_GetProductPackage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productPackageId","in":"path","description":"The id of the ProductPackage","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductPackage"}}}},"delete":{"tags":["Products"],"summary":"Removes given ProductPackage.","operationId":"Products_DeleteProductPackage","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"productId","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productPackageId","in":"path","description":"The id of the ProductPackage","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Products/{id}/Packages":{"post":{"tags":["Products"],"summary":"Adds or updates ProductPackage","operationId":"Products_AddOrUpdatePackage","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Product","required":true,"type":"integer","format":"int32"},{"name":"productPackage","in":"body","description":"The ProductPackage","required":true,"schema":{"$ref":"#/definitions/ProductPackage"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductPackage"}}}}},"/v1/Products/{productId}/AveragePriceExVat":{"get":{"tags":["Products"],"summary":"Get average price (ex VAT).","operationId":"Products_GetProductAveragePrice","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productId","in":"path","description":"The id of the product.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"format":"double","type":"number"}}}}},"/v1/Shops/{shopId}/ProductSelections":{"get":{"tags":["ProductSelections"],"summary":"Get a list with all available Product selections for given shop.","operationId":"ProductSelections_GetProductSelectionsForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSelection"}}}}}},"/v1/Shops/{shopId}/DefaultProductSelection":{"get":{"tags":["ProductSelections"],"summary":"Get the default Product selection for given shop","operationId":"ProductSelections_GetDefaultProductSelectionShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductSelection"}}}}},"/v1/ProductSelections/{productSelectionId}/ProductSelectionProducts":{"get":{"tags":["ProductSelections"],"summary":"Get a list with all Products in given Product selection.","operationId":"ProductSelections_GetForProductSelection","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productSelectionId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSelectionProduct"}}}}},"post":{"tags":["ProductSelections"],"summary":"Add a new Product to the Product selection.","operationId":"ProductSelections_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"productSelectionId","in":"path","description":"The ProductSelection Id","required":true,"type":"integer","format":"int32"},{"name":"productSelectionProduct","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ProductSelectionProductChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductSelectionProduct"}}}}},"/v1/Shops/{shopId}/ActiveProductSelectionProducts":{"get":{"tags":["ProductSelections"],"summary":"Get a list with all Products which are available for given Shop.","operationId":"ProductSelections_GetProductSelectionProductsForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The ID of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"onlyPublishedProducts","in":"query","description":"When true, only products which are published are returned, otherwise all.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSelectionProductBasicInfo"}}}}}},"/v1/Shops/{shopId}/GetProductSelectionProductsForShopWithSupplierInfo":{"get":{"tags":["ProductSelections"],"summary":"Get a list with all Products which are available for given Shop. This info is extended with the Supplier info.","operationId":"ProductSelections_GetProductSelectionProductsForShopWithSupplierInfo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The ID of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"onlyPublishedProducts","in":"query","description":"When true, only products which are published are returned, otherwise all.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductSelectionProductBasicInfo"}}}}}},"/v1/ProductSelectionProducts/{id}":{"get":{"tags":["ProductSelections"],"summary":"Get detailed information about a Product in the ProductSelection.","operationId":"ProductSelections_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The ProductSelectionProduct Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductSelectionProduct"}}}},"delete":{"tags":["ProductSelections"],"summary":"Remove given Product from the Product selection.","operationId":"ProductSelections_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The id of the ProductSelectionProduct.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ProductSelectionProducts":{"put":{"tags":["ProductSelections"],"summary":"Update an existing Product from a Product selection.","operationId":"ProductSelections_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"productSelectionProduct","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/ProductSelectionProductChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopOwners/{shopOwnerId}/PurchaseOrders":{"get":{"tags":["Purchasing"],"summary":"Get a list with all available PurchaseOrders, for given shop owner.","operationId":"Purchasing_GetAllPurchaseOrders","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shop owner.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify an until date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"mainStatusBaseStatusId","in":"query","description":"Optionally specify a base status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"warehouseId","in":"query","description":"Optionally specify a warehouse Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"isHandover","in":"query","description":"Optionally filter on handover.","required":false,"type":"boolean"},{"name":"fromDateDeleted","in":"query","description":"Optionally specify a from date for deleted orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateDeleted","in":"query","description":"Optionally specify an until date for deleted orders.","required":false,"type":"string","format":"date-time"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderBasicInfo"}}}}},"post":{"tags":["Purchasing"],"summary":"Add a new Purchase Order.","operationId":"Purchasing_AddPurchaseOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shopowner to create the purchase order for","required":true,"type":"integer","format":"int32"},{"name":"purchaseOrder","in":"body","description":"The order data","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/ShopOwners/{shopOwnerId}/GetPurchaseOrders":{"get":{"tags":["Purchasing"],"summary":"Returns a list of purchase orders, based on their ID, for the given shop owner.","operationId":"Purchasing_GetBulkPurchaseOrders","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shop owner.","required":true,"type":"integer","format":"int32"},{"name":"purchaseOrderIds","in":"query","description":"","required":true,"type":"string"},{"name":"includeDeleted","in":"query","description":"Optionally specify if deleted orders should be retrieved (not included by default).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrder"}}}}}},"/v1/PurchaseOrders":{"put":{"tags":["Purchasing"],"summary":"Update an existing Purchase Order.","operationId":"Purchasing_UpdatePurchaseOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrder","in":"body","description":"The purchaseOrder.","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrder}":{"delete":{"tags":["Purchasing"],"summary":"Delete given Purchase Order.","operationId":"Purchasing_DeletePurchaseOrder","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"query","description":"The purchaseOrder Id","required":true,"type":"integer","format":"int32"},{"name":"purchaseOrder","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}":{"get":{"tags":["Purchasing"],"summary":"Get detailed information about a Purchase Order.","operationId":"Purchasing_GetPurchaseOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The id of the Order.","required":true,"type":"integer","format":"int32"},{"name":"includeDeleted","in":"query","description":"Optionally specify if deleted orders should be retrieved (not included by default).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/ShopOwners/{shopOwnerId}/PurchaseOrders/{purchaseOrderCode}":{"get":{"tags":["Purchasing"],"summary":"Get detailed information about a Purchase Order.","operationId":"Purchasing_GetPurchaseOrderByOrderCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shopowner.","required":true,"type":"integer","format":"int32"},{"name":"purchaseOrderCode","in":"path","description":"The unique ShopCtrl Purchase Order code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/Provision":{"post":{"tags":["Purchasing"],"summary":"Provision the PurchaseOrder","operationId":"Purchasing_ProvisionPurchaseOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder ID","required":true,"type":"integer","format":"int32"},{"name":"provisionedItems","in":"body","description":"The rows to provision","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/ProvisionInfo"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/AdvancedProvision":{"post":{"tags":["Purchasing"],"summary":"Provision the PurchaseOrder with Advanced StockItems","operationId":"Purchasing_AdvancedProvisionPurchaseOrder","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder ID","required":true,"type":"integer","format":"int32"},{"name":"provisionedItems","in":"body","description":"The rows to provision","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/AdvancedProvisionInfo"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/Deliveries/{deliveryId}/Provision":{"post":{"tags":["Purchasing"],"summary":"Provision the PurchaseOrder's Delivery","operationId":"Purchasing_ProvisionPurchaseOrderDelivery","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder ID","required":true,"type":"integer","format":"int32"},{"name":"deliveryId","in":"path","description":"The Delivery ID","required":true,"type":"integer","format":"int32"},{"name":"provisionedItems","in":"body","description":"The rows to provision","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/ProvisionInfo"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/Deliveries/{deliveryId}/AdvancedProvision":{"post":{"tags":["Purchasing"],"summary":"Provision the PurchaseOrder's Delivery with Advanced StockItems","operationId":"Purchasing_AdvancedProvisionPurchaseOrderDelivery","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder ID","required":true,"type":"integer","format":"int32"},{"name":"deliveryId","in":"path","description":"The Delivery ID","required":true,"type":"integer","format":"int32"},{"name":"provisionedItems","in":"body","description":"The rows to provision","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/AdvancedProvisionInfo"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrder"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/Rows":{"get":{"tags":["Purchasing"],"summary":"Get a list with all order rows for a given order.","operationId":"Purchasing_GetPurchaseOrderRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRow"}}}}},"put":{"tags":["Purchasing"],"summary":"Update an existing order row.","operationId":"Purchasing_UpdatePurchaseOrderRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The order Row.","required":true,"schema":{"$ref":"#/definitions/UpdatePurchaseOrderRow"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Purchasing"],"summary":"Adds the specified order row.","operationId":"Purchasing_AddPurchaseOrderRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"row","in":"body","description":"The order Row.","required":true,"schema":{"$ref":"#/definitions/AddPurchaseOrderRow"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrderRow"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/Rows/{purchaseOrderRowId}":{"delete":{"tags":["Purchasing"],"summary":"Delete given order row.","operationId":"Purchasing_DeletePurchaseOrderRow","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The order identifier.","required":true,"type":"integer","format":"int32"},{"name":"purchaseOrderRowId","in":"path","description":"The order row identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/SetHandOver":{"put":{"tags":["Purchasing"],"summary":"Mark the PurchaseOrder as Handed over to external fulfilment party.","operationId":"Purchasing_PurchaseOrderSetHandOver","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual hand over time. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/SetReceived":{"put":{"tags":["Purchasing"],"summary":"Mark the PurchaseOrder as Received (DateReceived is set) by external fulfilment party.","operationId":"Purchasing_PurchaseOrderSetReceived","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual date received. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/MainStatus/{statusId}":{"put":{"tags":["Purchasing"],"summary":"Update the Main purchase order status.","operationId":"Purchasing_SetMainPurchaseOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The purchase order identifier.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the PurchaseOrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/SubmitStatus/{statusId}":{"put":{"tags":["Purchasing"],"summary":"Update the Submit purchase order status.","operationId":"Purchasing_SetSubmitPurchaseOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The id of the purchase order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the PurchaseOrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/ProvisionStatus/{statusId}":{"put":{"tags":["Purchasing"],"summary":"Update the Provision purchase order status.","operationId":"Purchasing_SetProvisionPurchaseOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The id of the purchase order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the PurchaseOrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/CustomStatus/{statusId}":{"put":{"tags":["Purchasing"],"summary":"Update the Custom purchase order status.","operationId":"Purchasing_SetCustomPurchaseOrderStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The id of the purchase order.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the PurchaseOrderStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopOwners/{shopOwnerId}/PurchaseOrderStatuses":{"get":{"tags":["Purchasing"],"summary":"Get a list with all available PurchaseOrders Statuses, for given shop owner.","operationId":"Purchasing_GetAllOrderStatusesForShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the shop owner.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderStatusBasicInfo"}}}}}},"/v1/BasePurchaseOrderStatuses":{"get":{"tags":["Purchasing"],"summary":"Get a list with the base order statuses.","operationId":"Purchasing_GetAllBasePurchaseOrderStatuses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/BasePurchaseOrderStatus"}}}}}},"/v1/PurchaseOrderStatusTypes":{"get":{"tags":["Purchasing"],"summary":"Get a list with the Purchase Order Status types.","operationId":"Purchasing_GetAllOrderStatusTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderStatusType"}}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo":{"get":{"tags":["Purchasing"],"summary":"Get a list with all tracking info for a given PurchaseOrder.","operationId":"Purchasing_GetPurchaseOrderTrackingInfo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderTrackingInfo"}}}}},"put":{"tags":["Purchasing"],"summary":"Update an existing tracking info.","operationId":"Purchasing_UpdatePurchaseOrderTrackingInfo","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder identifier.","required":true,"type":"integer","format":"int32"},{"name":"trackingInfo","in":"body","description":"The tracking info.","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderTrackingInfo"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Purchasing"],"summary":"Adds the specified tracking info.","operationId":"Purchasing_AddPurchaseOrderTrackingInfo","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder identifier.","required":true,"type":"integer","format":"int32"},{"name":"trackingInfo","in":"body","description":"The tracking info.","required":true,"schema":{"$ref":"#/definitions/PurchaseOrderTrackingInfo"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/PurchaseOrders/{purchaseOrderId}/TrackingInfo/{trackingInfoId}":{"get":{"tags":["Purchasing"],"summary":"Get the specified Tracking Info.","operationId":"Purchasing_GetPurchaseOrderTrackingInfo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder identifier.","required":true,"type":"integer","format":"int32"},{"name":"trackingInfoId","in":"path","description":"The Tracking Info identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PurchaseOrderTrackingInfo"}}}},"delete":{"tags":["Purchasing"],"summary":"Delete the given tracking info.","operationId":"Purchasing_DeletePurchaseOrderTrackingInfo","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"purchaseOrderId","in":"path","description":"The PurchaseOrder identifier.","required":true,"type":"integer","format":"int32"},{"name":"trackingInfoId","in":"path","description":"The tracking info identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/RentalContract/GetByCustomerId":{"get":{"tags":["RentalContracts"],"summary":"Gets the customer's rental contracts by customer id.","operationId":"RentalContracts_GetRentalContractsByCustomerId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"query","description":"The customer id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RentalContractBase"}}}}}},"/v1/RentalContract/GetByCustomerCode":{"get":{"tags":["RentalContracts"],"summary":"Gets the customer's rental contracts by exact match of customer code.","operationId":"RentalContracts_GetRentalContractsByCustomerCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"code","in":"query","description":"The customer code","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RentalContractBase"}}}}}},"/v1/RentalContract/GetByCustomerEmail":{"get":{"tags":["RentalContracts"],"summary":"Gets the customer's rental contracts by exact match of email.\r\nIt uses the customer's main email only, not the customer's company contacts.","operationId":"RentalContracts_GetRentalContractsByCustomerEmail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"email","in":"query","description":"The customer email","required":true,"type":"string"},{"name":"onlyActiveContracts","in":"query","description":"Default return only active contracts.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RentalContractBase"}}}}}},"/v1/RentalContract/{id}":{"get":{"tags":["RentalContracts"],"summary":"Get detailed information about the rental contract.","operationId":"RentalContracts_GetRentalContract","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The rental contract id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RentalContract"}}}}},"/v1/RentalContract/{rentalContractId}/DeliveryAddress":{"delete":{"tags":["RentalContracts"],"summary":"Delete the delivery address from the given rental contract.","operationId":"RentalContracts_DeleteRentalContractDeliveryAddress","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContractId","in":"path","description":"The RentalContract identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RentalContract"}}}}},"/v1/RentalContract/GetContactInfoByEmailAddress":{"get":{"tags":["RentalContracts"],"summary":"Try to find all Customer/RentalContract information based on the provided email address.","operationId":"RentalContracts_GetContactInfoByEmailAddress","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailAddress","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/GetContactInfoByEmailAddressResponseForRentalContract"}}}}}},"/v1/RentalContract":{"put":{"tags":["RentalContracts"],"summary":"Update an existing RentalContract.","operationId":"RentalContracts_UpdateRentalContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContract","in":"body","description":"The RentalContract.","required":true,"schema":{"$ref":"#/definitions/RentalContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["RentalContracts"],"summary":"Create a new RentalContract.","operationId":"RentalContracts_AddRentalContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContract","in":"body","description":"The RentalContract.","required":true,"schema":{"$ref":"#/definitions/RentalContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RentalContract"}}}}},"/v1/RentalContract/{rentalContractId}/Comments":{"get":{"tags":["RentalContracts"],"summary":"Get a list with all Comments for a RentalContract.","operationId":"RentalContracts_GetRentalContractComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"rentalContractId","in":"path","description":"The identifier of the RentalContract.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RentalContractComment"}}}}},"put":{"tags":["RentalContracts"],"summary":"Updates the specified RentalContractComment.","operationId":"RentalContracts_UpdateRentalContractComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContractId","in":"path","description":"The RentalContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"rentalContractComment","in":"body","description":"The RentalContractComment.","required":true,"schema":{"$ref":"#/definitions/RentalContractCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["RentalContracts"],"summary":"Adds the specified RentalContractComment.","operationId":"RentalContracts_AddRentalContractComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContractId","in":"path","description":"The RentalContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"rentalContractComment","in":"body","description":"The RentalContractComment.","required":true,"schema":{"$ref":"#/definitions/RentalContractCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/RentalContract/{rentalContractId}/Comments/{rentalContractCommentId}":{"delete":{"tags":["RentalContracts"],"summary":"Delete the given RentalContractComment.","operationId":"RentalContracts_DeleteRentalContractComment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"rentalContractId","in":"path","description":"The RentalContract identifier","required":true,"type":"integer","format":"int32"},{"name":"rentalContractCommentId","in":"path","description":"The RentalContractComment identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Reports":{"get":{"tags":["Reports"],"summary":"Get a list with all available reports.","operationId":"Reports_GetAllReports","consumes":[],"produces":["application/json","text/json"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object"}}}}}},"/v1/Reports/{reportId}":{"post":{"tags":["Reports"],"summary":"Retrieve a generated report for the specified reportId and parameters","operationId":"Reports_GetReport","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"reportId","in":"path","description":"The Report Id","required":true,"type":"integer","format":"int32"},{"name":"reportParametersRequest","in":"body","description":"The Report parameters request","required":true,"schema":{"$ref":"#/definitions/ReportParametersRequest"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Returns":{"get":{"tags":["Returns"],"summary":"Get a list with all available Returns, for given shop.","operationId":"Returns_GetAllReturns","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"orderId","in":"query","description":"Optionally specify an id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"code","in":"query","description":"Optionally specify a code to filter on.","required":false,"type":"string"},{"name":"fromDateCreated","in":"query","description":"Optionally specify a from date created for returns.","required":false,"type":"string","format":"date-time"},{"name":"untilDateCreated","in":"query","description":"Optionally specify an until date created for returns.","required":false,"type":"string","format":"date-time"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date changed for returns.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify an until date changed for returns.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a main status id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturnBasicInfo"}}}}}},"/v1/Returns/{id}":{"get":{"tags":["Returns"],"summary":"Get detailed information about a Return.","operationId":"Returns_GetReturnById","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Return.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderReturn"}}}},"delete":{"tags":["Returns"],"summary":"Delete the given OrderReturn.","operationId":"Returns_DeleteOrderReturn","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Returns":{"put":{"tags":["Returns"],"summary":"Update an existing OrderReturn.","operationId":"Returns_UpdateOrderReturn","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderReturn","in":"body","description":"The OrderReturn.","required":true,"schema":{"$ref":"#/definitions/OrderReturnChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderReturn"}}}},"post":{"tags":["Returns"],"summary":"Add a new OrderReturn.","operationId":"Returns_CreateOrderReturn","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderReturn","in":"body","description":"The OrderReturn data","required":true,"schema":{"$ref":"#/definitions/OrderReturnChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderReturn"}}}}},"/v1/Returns/{id}/RegisterOrderRows":{"post":{"tags":["Returns"],"summary":"Register new return rows based on sales order rows.","operationId":"Returns_RegisterReturnRows","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"id of order return","required":true,"type":"integer","format":"int32"},{"name":"args","in":"body","description":"Arguments for endpoint","required":true,"schema":{"$ref":"#/definitions/RegisterReturnRowsDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Returns/{id}/Rows/{rowId}/Refund":{"post":{"tags":["Returns"],"summary":"Set action to refund for return row","operationId":"Returns_SetReturnOrderRowActionToRefund","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Id of order return","required":true,"type":"integer","format":"int32"},{"name":"rowId","in":"path","description":"Id or order return row","required":true,"type":"integer","format":"int32"},{"name":"args","in":"body","description":"Arguments for refund action","required":true,"schema":{"$ref":"#/definitions/OrderReturnRowActionRefundArgs"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Returns/{id}/Rows/{rowId}/Exchange":{"post":{"tags":["Returns"],"summary":"Set action to exchange for return row","operationId":"Returns_SetReturnOrderRowActionToExchange","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Id of order return","required":true,"type":"integer","format":"int32"},{"name":"rowId","in":"path","description":"Id or order return row","required":true,"type":"integer","format":"int32"},{"name":"args","in":"body","description":"Arguments for exchange action","required":true,"schema":{"$ref":"#/definitions/OrderReturnRowActionExchangeArgs"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Returns/{id}/Rows/{rowId}/Repair":{"post":{"tags":["Returns"],"summary":"Set action to repair for return row","operationId":"Returns_SetReturnOrderRowActionToRepair","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Id of order return","required":true,"type":"integer","format":"int32"},{"name":"rowId","in":"path","description":"Id or order return row","required":true,"type":"integer","format":"int32"},{"name":"args","in":"body","description":"Arguments for repair action","required":true,"schema":{"$ref":"#/definitions/OrderReturnRowActionRepairArgs"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Returns/{id}/Rows/{rowId}/Resend":{"post":{"tags":["Returns"],"summary":"Set action to resend for return row","operationId":"Returns_SetReturnOrderRowActionToResend","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Id of order return","required":true,"type":"integer","format":"int32"},{"name":"rowId","in":"path","description":"Id or order return row","required":true,"type":"integer","format":"int32"},{"name":"args","in":"body","description":"Arguments for resend action","required":true,"schema":{"$ref":"#/definitions/OrderReturnRowActionResendArgs"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturn"}}}}}},"/v1/Returns/{id}/SetReceived":{"put":{"tags":["Returns"],"summary":"Sets received timestamp on OrderReturn","operationId":"Returns_SetReceived","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn ID","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The received timestamp. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Returns/{id}/SetFollowUp":{"put":{"tags":["Returns"],"summary":"Sets follow up timestamp on OrderReturn","operationId":"Returns_SetFollowUp","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn ID","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The follow up timestamp. Required.","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Returns/{id}/SetClosed":{"put":{"tags":["Returns"],"summary":"Sets closed timestamp on OrderReturn","operationId":"Returns_SetClosed","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn ID","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The closed timestamp. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Returns/{id}/Finalize":{"put":{"tags":["Returns"],"summary":"Finalize the OrderReturn","operationId":"Returns_Finalize","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn ID","required":true,"type":"integer","format":"int32"},{"name":"createCreditInvoice","in":"query","description":"Create or don't create credit invoices. Defaults to true.","required":false,"type":"boolean"},{"name":"createPaymentForRefund","in":"query","description":"Create or don't create payments for refund. Defaults to true.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Returns/{id}/Rows":{"get":{"tags":["Returns"],"summary":"Get a list with all OrderReturnRows for a given OrderReturn.","operationId":"Returns_GetOrderReturnRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderReturnRow"}}}}},"put":{"tags":["Returns"],"summary":"Update an existing OrderReturnRow.","operationId":"Returns_UpdateOrderRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderReturnRow","in":"body","description":"The OrderReturnRow.","required":true,"schema":{"$ref":"#/definitions/OrderReturnRow"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderReturnRow"}}}},"post":{"tags":["Returns"],"summary":"Adds the specified OrderReturnRow.","operationId":"Returns_AddOrderReturnRow","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The OrderReturnRow identifier.","required":true,"type":"integer","format":"int32"},{"name":"returnRow","in":"body","description":"The OrderReturnRow data.","required":true,"schema":{"$ref":"#/definitions/OrderReturnRow"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/OrderReturnRow"}}}}},"/v1/Returns/{id}/Rows/{orderReturnRowId}":{"delete":{"tags":["Returns"],"summary":"Delete given OrderReturnRow","operationId":"Returns_DeleteOrderReturnRow","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The OrderReturn identifier.","required":true,"type":"integer","format":"int32"},{"name":"orderReturnRowId","in":"path","description":"The OrderReturnRow identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ServiceContract/GetByCustomerId":{"get":{"tags":["ServiceContracts"],"summary":"Gets the customer's service contracts by customer id.","operationId":"ServiceContracts_GetServiceContractsByCustomerId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"query","description":"The customer id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceContractBase"}}}}}},"/v1/ServiceContract/GetByCustomerCode":{"get":{"tags":["ServiceContracts"],"summary":"Gets the customer's service contracts by exact match of customer code.","operationId":"ServiceContracts_GetServiceContractsByCustomerCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"code","in":"query","description":"The customer code","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceContractBase"}}}}}},"/v1/ServiceContract/GetByCustomerEmail":{"get":{"tags":["ServiceContracts"],"summary":"Gets the customer's service contracts by exact match of email.\r\nIt uses the customer's main email only, not the customer's company contacts.","operationId":"ServiceContracts_GetServiceContractsByCustomerEmail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"email","in":"query","description":"The customer email","required":true,"type":"string"},{"name":"onlyActiveContracts","in":"query","description":"Default return only active contracts.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceContractBase"}}}}}},"/v1/ServiceContract/{id}":{"get":{"tags":["ServiceContracts"],"summary":"Get detailed information about the service contract.","operationId":"ServiceContracts_GetServiceContract","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The service contract id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ServiceContract"}}}}},"/v1/ServiceContract":{"put":{"tags":["ServiceContracts"],"summary":"Update an existing ServiceContract.","operationId":"ServiceContracts_UpdateServiceContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContract","in":"body","description":"The ServiceContract.","required":true,"schema":{"$ref":"#/definitions/ServiceContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ServiceContracts"],"summary":"Create a new ServiceContract.","operationId":"ServiceContracts_AddServiceContract","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContract","in":"body","description":"The ServiceContract.","required":true,"schema":{"$ref":"#/definitions/ServiceContractChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ServiceContract"}}}}},"/v1/ServiceContract/{serviceContractId}/DeliveryAddress":{"delete":{"tags":["ServiceContracts"],"summary":"Delete the delivery address from the given service contract.","operationId":"ServiceContracts_DeleteServiceContractDeliveryAddress","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContractId","in":"path","description":"The ServiceContract identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ServiceContract"}}}}},"/v1/ServiceContract/ServiceDatesInPeriod":{"get":{"tags":["ServiceContracts"],"summary":"Gets a list of all planned service dates in a period.","operationId":"ServiceContracts_GetPlannedServiceDatesInPeriod","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"from","in":"query","description":"The from date","required":true,"type":"string","format":"date-time"},{"name":"till","in":"query","description":"The till date","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceAppointmentBase"}}}}}},"/v1/ServiceContract/Appointment":{"put":{"tags":["ServiceContracts"],"summary":"Update the existing service appointment.","operationId":"ServiceContracts_UpdateAppointment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"serviceAppointment","in":"body","description":"The service appointment","required":true,"schema":{"$ref":"#/definitions/ServiceAppointmentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ServiceContract/AvailableLoanProductsInPeriodPerDay":{"get":{"tags":["ServiceContracts"],"summary":"This endpoint will return the available LoanProducts for each day in the given period.","operationId":"ServiceContracts_GetAvailableLoanProductsInPeriodPerDay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"from","in":"query","description":"Period from","required":true,"type":"string","format":"date-time"},{"name":"till","in":"query","description":"Period till","required":true,"type":"string","format":"date-time"},{"name":"reservationDaysMarginBefore","in":"query","description":"The days which must be included before a specific date for a complete reservation period.","required":true,"type":"integer","format":"int32"},{"name":"reservationDaysMarginAfter","in":"query","description":"The days which must be included after a specific date for a complete reservation period.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/LoanProductAvailabilityPerDayResponse"}}}}}},"/v1/ServiceContract/ScheduledServicesAppointmentsPerDay":{"get":{"tags":["ServiceContracts"],"summary":"Return the scheduled services per day in given period.","operationId":"ServiceContracts_ScheduledServicesAppointmentsPerDay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"query","description":"The shop owner id","required":true,"type":"integer","format":"int32"},{"name":"periodFrom","in":"query","description":"Period from","required":true,"type":"string","format":"date-time"},{"name":"periodTill","in":"query","description":"Period till","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ScheduledServicesPerDayResponse"}}}}}},"/v1/ServiceContract/Appointment/{id}":{"get":{"tags":["ServiceContracts"],"summary":"Gets detailed information about the appointment","operationId":"ServiceContracts_GetAppointment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ServiceAppointment"}}}}},"/v1/ServiceContract/{id}/MailConfig":{"get":{"tags":["ServiceContracts"],"summary":"Gets mail config flag for a specific template.\r\n\r\nMail target flag values: \r\n0 - none,\r\n1 - customer,\r\n2 - location,\r\n3 - customer, location,\r\n4 - delivery address,\r\n5 - customer, delivery address,\r\n6 - location, delivery address,\r\n7 - customer, location, delivery address,\r\nnull - if a config was never set.","operationId":"ServiceContracts_GetMailConfig","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"template","in":"query","required":true,"type":"string","enum":["Invitation","InvitationReminder","InvitationConfirmation","ReturnInvitation","ReturnInvitationReminder","ReturnInvitationConfirmation","SwapSendTT","SwapReturnTT","SendAndReturnWithLoanProductSendTT","SendAndReturnWithLoanProductReturnTT","SendAndReturnWithoutLoanProductTT","InspectionReport","AutomateOrderConfirmation"]}],"responses":{"200":{"description":"OK","schema":{"enum":["None","Customer","Location","DeliveryAddress"],"type":"string"}}}},"post":{"tags":["ServiceContracts"],"summary":"Gets mail config flag for template","operationId":"ServiceContracts_SetMailConfig","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"template","in":"query","required":true,"type":"string","enum":["Invitation","InvitationReminder","InvitationConfirmation","ReturnInvitation","ReturnInvitationReminder","ReturnInvitationConfirmation","SwapSendTT","SwapReturnTT","SendAndReturnWithLoanProductSendTT","SendAndReturnWithLoanProductReturnTT","SendAndReturnWithoutLoanProductTT","InspectionReport","AutomateOrderConfirmation"]},{"name":"mailTarget","in":"query","required":true,"type":"string","enum":["None","Customer","Location","DeliveryAddress"]}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ServiceContract/{id}/MailConfigs":{"get":{"tags":["ServiceContracts"],"summary":"Gets mail config flags for all templates.\r\n\r\nMail target flag values: \r\n0 - none,\r\n1 - customer,\r\n2 - location,\r\n3 - customer, location,\r\n4 - delivery address,\r\n5 - customer, delivery address,\r\n6 - location, delivery address,\r\n7 - customer, location, delivery address,\r\nnull - if a config was never set.","operationId":"ServiceContracts_GetMailConfigs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/KeyValuePair[String,Nullable[MailTargetFlagEnum]]"}}}}}},"/v1/ServiceContract/GetContactInfoByEmailAddress":{"get":{"tags":["ServiceContracts"],"summary":"Try to find all Customer/ServiceContract information based on the provided email address.","operationId":"ServiceContracts_GetContactInfoByEmailAddress","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailAddress","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/GetContactInfoByEmailAddressResponseForServiceContract"}}}}}},"/v1/ServiceContract/{serviceContractId}/Comments":{"get":{"tags":["ServiceContracts"],"summary":"Get a list with all Comments for a ServiceContract.","operationId":"ServiceContracts_GetServiceContractComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serviceContractId","in":"path","description":"The identifier of the ServiceContract.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceContractComment"}}}}},"put":{"tags":["ServiceContracts"],"summary":"Updates the specified ServiceContractComment.","operationId":"ServiceContracts_UpdateServiceContractComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContractId","in":"path","description":"The ServiceContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"serviceContractComment","in":"body","description":"The ServiceContractComment.","required":true,"schema":{"$ref":"#/definitions/ServiceContractCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ServiceContracts"],"summary":"Adds the specified ServiceContractComment.","operationId":"ServiceContracts_AddServiceContractComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContractId","in":"path","description":"The ServiceContract identifier.","required":true,"type":"integer","format":"int32"},{"name":"serviceContractComment","in":"body","description":"The ServiceContractComment.","required":true,"schema":{"$ref":"#/definitions/ServiceContractCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ServiceContract/{serviceContractId}/Comments/{serviceContractCommentId}":{"delete":{"tags":["ServiceContracts"],"summary":"Delete the given ServiceContractComment.","operationId":"ServiceContracts_DeleteServiceContractComment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"serviceContractId","in":"path","description":"The ServiceContract identifier","required":true,"type":"integer","format":"int32"},{"name":"serviceContractCommentId","in":"path","description":"The ServiceContractComment identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ServiceProduct/GetServiceProducts":{"get":{"tags":["ServiceContracts"],"summary":"Get list of ServiceProductInfo for all available employee's shop groups. Pagination info included into response header.","operationId":"ServiceContracts_GetServiceProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"searchField","in":"query","description":"Optionally specify a term to search within product's name, shop group and product brand.","required":false,"type":"string"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ServiceProductInfo"}}}}}},"/v1/ServiceProduct/{id}":{"get":{"tags":["ServiceContracts"],"summary":"Get detailed information about ServiceProduct.","operationId":"ServiceContracts_GetServiceProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Service product id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ServiceProduct"}}}}},"/v1/ServiceProducts/ReplaceableParts/Products":{"post":{"tags":["ServiceContracts"],"summary":"Retrieves a list of Products that the linked ReplaceableParts for the given ServiceProductIDs are based on","operationId":"ServiceContracts_GetReplaceablePartsProductsForServiceProducts","consumes":["application/json","text/json"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serviceProductIds","in":"body","description":"Collection of ServiceProductIDs","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductsByServiceProduct"}}}}},"/v1/ServiceProducts/Products":{"post":{"tags":["ServiceContracts"],"summary":"Retrieves a list of Products that are linked to the provided ServiceProductIDs","operationId":"ServiceContracts_GetProductsForServiceProducts","consumes":["application/json","text/json"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serviceProductIds","in":"body","description":"Collection of ServiceProductIDs","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ProductsByServiceProduct"}}}}},"/v1/Shops/{shopId}/Shipments":{"get":{"tags":["Shipments"],"summary":"Get a list with available Shipments, for given shop.","operationId":"Shipments_GetAllShipmentsForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"isPicked","in":"query","description":"Optionally specify if the Shipment must be picked.","required":false,"type":"boolean"},{"name":"isPacked","in":"query","description":"Optionally specify if the Shipment must be packed.","required":false,"type":"boolean"},{"name":"isShipped","in":"query","description":"Optionally specify if the Shipment must be shipped.","required":false,"type":"boolean"},{"name":"isHandedOver","in":"query","description":"Optionally specify if the Shipment is marked as handed over.","required":false,"type":"boolean"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShipmentBasicInfo"}}}}}},"/v1/Warehouses/{warehouseId}/Shipments":{"get":{"tags":["Shipments"],"summary":"Get a list with available Shipments, for given Warehouse.","operationId":"Shipments_GetAllShipmentsForWarehouse","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the warehouse.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed orders.","required":false,"type":"string","format":"date-time"},{"name":"isPicked","in":"query","description":"Optionally specify if the Shipment must be picked.","required":false,"type":"boolean"},{"name":"isPacked","in":"query","description":"Optionally specify if the Shipment must be packed.","required":false,"type":"boolean"},{"name":"isShipped","in":"query","description":"Optionally specify if the Shipment must be shipped.","required":false,"type":"boolean"},{"name":"isHandedOver","in":"query","description":"Optionally specify if the Shipment is marked as handed over.","required":false,"type":"boolean"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShipmentBasicInfo"}}}}}},"/v1/Shipments/{shipmentId}":{"get":{"tags":["Shipments"],"summary":"Get detailed information about a Shipment.","operationId":"Shipments_GetShipmentById","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The id of the Shipment.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}},"delete":{"tags":["Shipments"],"summary":"Deletes a shipment from the system.","operationId":"Shipments_DeleteOrderShipment","consumes":[],"produces":[],"parameters":[{"name":"shipmentId","in":"path","description":"Identifier of the shipment","required":true,"type":"integer","format":"int32"}],"responses":{"204":{"description":"No Content"}}}},"/v1/Shops/{shopId}/Shipments/{shippingCode}":{"get":{"tags":["Shipments"],"summary":"Get detailed information about a Shipment.","operationId":"Shipments_GetShipmentByCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"shippingCode","in":"path","description":"Code identifier of the Shipment.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shops/{shopId}/Shipments/{shippingCode}/ShipmentId":{"get":{"tags":["Shipments"],"summary":"Get the ShopCtrl Shipment Id based on the ShipmentCode.","operationId":"Shipments_GetShipmentIdByShipmentCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"shippingCode","in":"path","description":"The unique ShopCtrl Shipment code.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/v1/Shipments":{"post":{"tags":["Shipments"],"summary":"Creates a new shipment for an order.","description":"There are three methods to create a shipment:\r\n<p><ol><li><b>Full automatic mode</b><br /> Leave both WarehouseId and OrderRow collection empty.<br />ShopCtrl will determine what orderrows should be shipped and automatically select the warehouse based on the first orderrow. Only the OrderRows that are allocated for the same warehouse as the firsty OrderRow are added. OrderRows that are allocated for a different warehouse are ignored.</li><li><b>Specify warehouse</b><br /> Set WarehousId and leave the OrderRow collection empty.<br /> ShopCtrl will add all shipppable orderrows allocated for the warehouse to the shipment.</li><li><b>Specify both warehouse and set of orderrows</b><br />ShopCtrl will only add the orderrows specified to the shipment provided that they are allocated for Warehouse identified by WarehouseId.</li></ol></p>","operationId":"Shipments_CreateShipment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentInfo","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/AddShipmentInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/AddOrderRows":{"put":{"tags":["Shipments"],"summary":"Add one or multiple orderrows to an existing 'open' shipment.","operationId":"Shipments_AddOrderRowsToShipment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"arguments","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/AddOrderRowsToShipmentInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/RemoveOrderRows":{"put":{"tags":["Shipments"],"summary":"Remove one or multiple OrderRows from an 'open' shipment.","operationId":"Shipments_RemoveOrderRowsFromShipment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"Identifier of shipment","required":true,"type":"integer","format":"int32"},{"name":"arguments","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/RemoveOrderRowsFromShipmentInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/GeneratePickList":{"put":{"tags":["Shipments"],"summary":"Creates (or updates if it already exists) the picklist for the shipment","operationId":"Shipments_GeneratePickListDocument","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"Ordershipment Identity","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/File"}}}}},"/v1/Shipments/{shipmentId}/GeneratePackingSlip":{"put":{"tags":["Shipments"],"summary":"Creates (or updates if it already exists) the packingslip for the shipment","operationId":"Shipments_GeneratePackingSlipDocument","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"Ordershipment Identity","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/File"}}}}},"/v1/Shipments/{shipmentId}/SetPicked":{"put":{"tags":["Shipments"],"summary":"Mark the Shipment as Picked.","operationId":"Shipments_ShipmentSetPicked","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual time picked. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/SetPicked/AdvancedStockItem":{"post":{"tags":["Shipments"],"summary":"Mark an advanced stock item as picked","operationId":"Shipments_SetSaleSupplyAdvancedPicked","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"Id of (order)shipment","required":true,"type":"integer","format":"int32"},{"name":"pickInfo","in":"body","description":"Product and stock item classifications","required":true,"schema":{"$ref":"#/definitions/PickedStockItemDto"}},{"name":"acceptStockItemAsIs","in":"query","description":"If true,  it means that the system accepts specifications for StockItems. Based on these specifications, the system selects an available or reserved StockItem, which then replaces a reserved StockItem from the shipment.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PickListInfo"}}}}},"/v1/Shipments/{shipmentId}/SetPicked/AdvancedStockItems":{"post":{"tags":["Shipments"],"summary":"Mark an advanced stock items as picked","operationId":"Shipments_ShipmentSetMultipleStockItemsPicked","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"Id of (order)shipment","required":true,"type":"integer","format":"int32"},{"name":"pickInfos","in":"body","description":"Array of Product and stock item classifications","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/PickedStockItemDto"}}},{"name":"acceptStockItemAsIs","in":"query","description":"If true,  it means that the system accepts specifications for StockItems. Based on these specifications, the system selects an available or reserved StockItem, which then replaces a reserved StockItem from the shipment.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PickListInfo"}}}}},"/v1/Shipments/{shipmentId}/SetUnpicked":{"post":{"tags":["Shipments"],"summary":"Mark the Shipment as unpicked. The associated stock items will be set to 'Reserved'.","operationId":"Shipments_ShipmentSetUnpicked","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PickList"}}}}},"/v1/Shipments/{shipmentId}/AddParameter":{"put":{"tags":["Shipments"],"summary":"Add a parameter to the OrderShipment. If the key already exists, value if overritten, otherwise key is created.","operationId":"Shipments_AddOrderShipmentParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"parameter","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/OrderShipmentParam"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shipments/{shipmentId}/AddParameters":{"put":{"tags":["Shipments"],"summary":"Add multiple parameters to the OrderShipment. If the key already exists, value if overritten, otherwise key is created.","operationId":"Shipments_AddOrderShipmentParameters","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"parameters","in":"body","description":"","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/OrderShipmentParam"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shipments/{shipmentId}/RemoveParameter/{key}":{"delete":{"tags":["Shipments"],"summary":"Removes a parameter from the OrderShipment parameter collection.","operationId":"Shipments_RemoveOrderShipmentParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"Identifier of the shipment","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"Key to be removed","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shipments/{shipmentId}/Parcel":{"post":{"tags":["Shipments"],"summary":"Add parcel to the shipment. You can only set 1 parcel per shipment. If you want to replace the parcel, you should first delete the existing parcel on the shipment.","operationId":"Shipments_AddParcelToOrderShipment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"parcelArguments","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/AddShipmentParcelInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Parcel"}}}},"delete":{"tags":["Shipments"],"summary":"Removes parcel from OrderShipment. The parcel itself will also be deleted from the system.","operationId":"Shipments_RemoveParcelFromShipment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shipments/{shipmentId}/Picklist":{"get":{"tags":["Shipments"],"summary":"Returns the picklist for this Shipment","operationId":"Shipments_GetPickList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PickListInfo"}}}}},"/v1/Shipments/{shipmentId}/SetRowsPicked":{"put":{"tags":["Shipments"],"summary":"Marks orderrows as picked","operationId":"Shipments_ShipmentSetRowsPicked","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment ID","required":true,"type":"integer","format":"int32"},{"name":"pickInfo","in":"body","description":"Collection of details of how many items are retrieved for an OrderRow/WarehouseLocation","required":true,"schema":{"$ref":"#/definitions/ShipmentPickInfo"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PickList"}}}}},"/v1/Shipments/{shipmentId}/Packlist":{"get":{"tags":["Shipments"],"summary":"Returns the packlist for this Shipment","operationId":"Shipments_GetPackList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PackListInfo"}}}}},"/v1/Shipments/{shipmentId}/SetPacked":{"put":{"tags":["Shipments"],"summary":"Mark the Shipment as Packed.","operationId":"Shipments_ShipmentSetPacked","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual time packed. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/SetUnpacked":{"post":{"tags":["Shipments"],"summary":"Mark the Shipment as unpacked.","operationId":"Shipments_ShipmentSetUnpacked","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/SetShipped":{"put":{"tags":["Shipments"],"summary":"Mark the Shipment as Shipped.","operationId":"Shipments_ShipmentSetShipped","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual time shipped. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shipments/{shipmentId}/SetHandOver":{"put":{"tags":["Shipments"],"summary":"Mark the Shipment as Handed over to external fulfilment party.","operationId":"Shipments_ShipmentSetHandOver","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shipmentId","in":"path","description":"The Shipment Id","required":true,"type":"integer","format":"int32"},{"name":"timestamp","in":"query","description":"The actual hand over time. When not provided, the current time will be used.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shipment"}}}}},"/v1/Shops/{shopId}/ShipmentsExists":{"get":{"tags":["Shipments"],"operationId":"Shipments_ShipmentExists","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"shipmentCodes","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShipmentExistsResponse"}}}}},"/v1/ShopOwners":{"get":{"tags":["ShopOwners"],"summary":"Get a list with all available ShopOwners for the logged in user.","operationId":"ShopOwners_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopOwnerBasicInfo"}}}}},"put":{"tags":["ShopOwners"],"summary":"Update an existing ShopOwner.","operationId":"ShopOwners_UpdateShopOwner","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopOwner","in":"body","description":"The ShopOwner changes object","required":true,"schema":{"$ref":"#/definitions/ShopOwnerChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ShopOwners"],"summary":"Add a new ShopOwner.","operationId":"ShopOwners_AddShopOwner","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwner","in":"body","description":"The ShopOwner changes object","required":true,"schema":{"$ref":"#/definitions/ShopOwnerChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopOwner"}}}}},"/v1/ShopOwners/{shopOwnerId}":{"get":{"tags":["ShopOwners"],"summary":"Get detailed information about a ShopOwner.","operationId":"ShopOwners_GetShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the ShopOwner.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopOwner"}}}}},"/v1/ShopOwners/{shopOwnerId}/ShopGroups":{"get":{"tags":["ShopOwners"],"summary":"Get all ShopGroups for the ShopOwner.","operationId":"ShopOwners_GetShopGroupsByShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the ShopOwner","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopGroupBasicInfo"}}}}}},"/v1/ShopGroups/{shopGroupId}":{"get":{"tags":["ShopOwners"],"summary":"Get detailed information about a ShopGroup.","operationId":"ShopOwners_GetShopGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the ShopGroup.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopGroup"}}}},"delete":{"tags":["ShopOwners"],"summary":"Delete given ShopGroup.","operationId":"ShopOwners_DeleteShopGroup","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopGroupId","in":"path","description":"The ShopOwner Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopGroups":{"put":{"tags":["ShopOwners"],"summary":"Update an existing ShopGroup.","operationId":"ShopOwners_UpdateShopGroup","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopGroup","in":"body","description":"The ShopGroup changes object","required":true,"schema":{"$ref":"#/definitions/ShopGroupChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ShopOwners"],"summary":"Add a new ShopGroup for a ShopOwner.","operationId":"ShopOwners_AddShopOwnerShopGroup","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroup","in":"body","description":"The ShopGroup changes object","required":true,"schema":{"$ref":"#/definitions/ShopGroupChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShopGroup"}}}}},"/v1/ShopOwners/{shopOwnerId}/Affiliates":{"get":{"tags":["ShopOwners"],"summary":"Get all ShopGroups for the ShopOwner.","operationId":"ShopOwners_GetAffiliatesShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the ShopOwner","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Affiliate"}}}}}},"/v1/Shops":{"get":{"tags":["Shops"],"summary":"Get a list with all available Shops for the logged in user.","operationId":"Shops_GetAvailable","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopBasicInfo"}}}}},"put":{"tags":["Shops"],"summary":"Update an existing Shop.","operationId":"Shops_UpdateShop","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shop","in":"body","description":"The Shop changes object","required":true,"schema":{"$ref":"#/definitions/ShopChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Shops"],"summary":"Add a new Shop for a ShopOwner.","operationId":"Shops_AddShopOwnerShop","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shop","in":"body","description":"The Shop changes object","required":true,"schema":{"$ref":"#/definitions/ShopChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shop"}}}}},"/v1/ShopGroups/{shopGroupId}/Shops":{"get":{"tags":["Shops"],"summary":"Get a list with all available Shops, for given shop group.","operationId":"Shops_GetForShopGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopGroupId","in":"path","description":"The id of the Shop group.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopBasicInfo"}}}}}},"/v1/Shops/{shopId}":{"get":{"tags":["Shops"],"summary":"Get detailed information about a Shop.","operationId":"Shops_GetShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Shop"}}}},"delete":{"tags":["Shops"],"summary":"Delete given Shop.","operationId":"Shops_DeleteShop","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The ShopOwner Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/ShopStatus":{"get":{"tags":["Shops"],"summary":"Get a list with all available Shops for the logged in user. \r\nThe status info contains info about last mail/order synchronization.","operationId":"Shops_GetShopStatusForAvailableShops","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopStatusInfo"}}}}}},"/v1/Shops/LastOrderSyncTimestamp":{"get":{"tags":["Shops"],"summary":"Gets the last order synchronize timestamps.","operationId":"Shops_GetLastOrderSyncTimestamp","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"format":"date-time","type":"string"}}}}},"/v1/Shops/{shopId}/Product/ForeignPriceIncVAT":{"put":{"tags":["Shops"],"summary":"Update the Product price for a Shop.\r\nThe price is in the default Shop currency, and is specified including VAT.\r\nAn existing Product must be specified.","operationId":"Shops_UpdateProductForeignPriceIncVAT","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Id of the Shop","required":true,"type":"integer","format":"int32"},{"name":"updatedValues","in":"body","description":"The new price","required":true,"schema":{"$ref":"#/definitions/ShopProductPriceUpdateInput"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Product/ForeignPricesIncVAT":{"put":{"tags":["Shops"],"summary":"Update a collection Product prices for a Shop.\r\nThe price is in the default Shop currency, and is specified including VAT.\r\nAn existing Product must be specified.","operationId":"Shops_UpdateProductForeignPricesIncVAT","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The Id of the Shop","required":true,"type":"integer","format":"int32"},{"name":"updatedValues","in":"body","description":"A collection of product codes and prices.","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/ShopProductPriceUpdateInput"}}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/UpdatePriceResponse"}}}}}},"/v1/Shops/{shopId}/Parameters":{"get":{"tags":["Shops"],"summary":"Get all Shop's Parameters.","operationId":"Shops_GetShopParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopParameter"}}}}},"put":{"tags":["Shops"],"summary":"Updates or adds a Shop Parameter.","operationId":"Shops_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"shopParameter","in":"body","description":"The Shop parameter.","required":true,"schema":{"$ref":"#/definitions/ShopParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Shops"],"summary":"Updates or adds a Shop Parameter.","operationId":"Shops_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"shopParameter","in":"body","description":"The Shop parameter.","required":true,"schema":{"$ref":"#/definitions/ShopParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Parameters/{key}":{"put":{"tags":["Shops"],"summary":"Updates or adds the Shop Parameter.","operationId":"Shops_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The parameter key.","required":true,"type":"string"},{"name":"parameterValue","in":"body","description":"The parameter value.","required":true,"schema":{"$ref":"#/definitions/ParameterValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Shops"],"summary":"Updates or adds the Shop Parameter.","operationId":"Shops_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The parameter key.","required":true,"type":"string"},{"name":"parameterValue","in":"body","description":"The parameter value.","required":true,"schema":{"$ref":"#/definitions/ParameterValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Shops"],"summary":"Delete a specific Shop's Parameter.","operationId":"Shops_DeleteShopParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the Shop.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The Shop's Parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/SetOrderStatusesManagedByShopCtrl":{"post":{"tags":["Shops"],"summary":"Sets the Order's statuses managed by ShopCtrl.","operationId":"Shops_SetOrderStatusesManagedByShopCtrl","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Id of the Shop","required":true,"type":"integer","format":"int32"},{"name":"settings","in":"body","description":"The settings","required":true,"schema":{"$ref":"#/definitions/AutoSetOrderStatusesSettings"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Logo":{"post":{"tags":["Shops"],"summary":"Upload the Shop logo","operationId":"Shops_UploadLogo","consumes":["image/bmp","image/png","image/jpg","image/jpeg"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop Id","required":true,"type":"integer","format":"int32"},{"name":"image","in":"body","description":"Image file data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/Icon":{"post":{"tags":["Shops"],"summary":"Upload the Shop icon","operationId":"Shops_UploadIcon","consumes":["image/bmp","image/png","image/jpg","image/jpeg"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The Shop Id","required":true,"type":"integer","format":"int32"},{"name":"image","in":"body","description":"Image file data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/StockCountGroup":{"get":{"tags":["StockCount"],"summary":"Return list of stock count groups for a warehouse","operationId":"StockCount_GetStockCountGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"Id of warehouse","required":true,"type":"integer","format":"int32"}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockCountGroup"}}}}},"post":{"tags":["StockCount"],"summary":"Create new stock count group","operationId":"StockCount_AddStockCountGroup","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"Id of warehouse","required":true,"type":"integer","format":"int32"},{"name":"model","in":"body","description":"Parameters","required":true,"schema":{"$ref":"#/definitions/AddStockCountGroup"}}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"201":{"description":"Created","schema":{"$ref":"#/definitions/StockCountGroup"}}}}},"/v1/Warehouses/{warehouseId}/StockCountGroup/{stockCountGroupId}":{"get":{"tags":["StockCount"],"summary":"Get details of stock count group","operationId":"StockCount_GetStockCountGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"Id of warehouse","required":true,"type":"integer","format":"int32"},{"name":"stockCountGroupId","in":"path","description":"If of stock count group","required":true,"type":"integer","format":"int32"}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCountGroup"}}}},"put":{"tags":["StockCount"],"summary":"Update details of stock count group","operationId":"StockCount_UpdateStockCountGroup","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"If of warehouse","required":true,"type":"integer","format":"int32"},{"name":"stockCountGroupId","in":"path","description":"id of stock count group","required":true,"type":"integer","format":"int32"},{"name":"model","in":"body","description":"parameters","required":true,"schema":{"$ref":"#/definitions/UpdateStockCountGroup"}}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCountGroup"}}}},"delete":{"tags":["StockCount"],"summary":"Delete stock count group","operationId":"StockCount_DeleteStockCountGroup","consumes":[],"produces":[],"parameters":[{"name":"warehouseId","in":"path","description":"Id of warehouse","required":true,"type":"integer","format":"int32"},{"name":"stockCountGroupId","in":"path","description":"If of stock count group","required":true,"type":"integer","format":"int32"}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"204":{"description":"No Content - Delete operation successful"}}}},"/v1/Warehouses/{warehouseId}/StockCount":{"get":{"tags":["StockCount"],"summary":"Search for stock counts","operationId":"StockCount_StockCountSearch","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"Id of warehouse","required":true,"type":"integer","format":"int32"},{"name":"searchArguments.pageSize","in":"query","required":false,"type":"integer","format":"int32","maximum":999,"minimum":5},{"name":"searchArguments.pageNumber","in":"query","required":false,"type":"integer","format":"int32","maximum":2147483647,"minimum":1},{"name":"searchArguments.stockCountGroupId","in":"query","required":false,"type":"integer","format":"int32"},{"name":"searchArguments.isPlanned","in":"query","required":false,"type":"boolean"},{"name":"searchArguments.isStarted","in":"query","required":false,"type":"boolean"},{"name":"searchArguments.isClosed","in":"query","required":false,"type":"boolean"},{"name":"searchArguments.isFinalized","in":"query","required":false,"type":"boolean"},{"name":"searchArguments.isHandover","in":"query","required":false,"type":"boolean"}],"responses":{"404":{"description":"Not found"},"403":{"description":"Not authorized"},"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockCount"}}}}},"post":{"tags":["StockCount"],"summary":"Creates a StockCount","operationId":"StockCount_CreateStockCount","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"ID of warehouse for which a StockCount needs to be created","required":true,"type":"integer","format":"int32"},{"name":"arguments","in":"body","description":"Arguments for StockCount","required":true,"schema":{"$ref":"#/definitions/CreateStockCountArguments"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockCount"}}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}":{"get":{"tags":["StockCount"],"operationId":"StockCount_GetStockCount","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCount"}}}},"post":{"tags":["StockCount"],"operationId":"StockCount_UpdateStockCountItems","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"arguments","in":"body","required":true,"schema":{"$ref":"#/definitions/UpdateStockCountArguments"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCount"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}":{"options":{"tags":["StockCount"],"operationId":"StockCount_GetStockCountItemActions","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StockCountActionUrl"}}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}/{actualCount}":{"post":{"tags":["StockCount"],"operationId":"StockCount_UpdateStockCountItem","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"actualCount","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCountItem"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/finalize":{"post":{"tags":["StockCount"],"operationId":"StockCount_FinalizeStockCount","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StockCount"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}/Action/DoNothing":{"post":{"tags":["StockCount"],"operationId":"StockCount_StockActionDoNothing","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}/Action/CreateStockItems":{"post":{"tags":["StockCount"],"operationId":"StockCount_StockActionCreateStockItems","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}/Action/MarkMissing":{"post":{"tags":["StockCount"],"operationId":"StockCount_StockActionMarkMissing","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/StockCount/{stockCountId}/Item/{stockCountItemId}/Action/MoveToHere":{"post":{"tags":["StockCount"],"operationId":"StockCount_StockActionMoveToHere","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"stockCountItemId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/ShopOwners/{shopOwnerId}/Suppliers":{"get":{"tags":["Suppliers"],"summary":"Get a list with all Suppliers for specified Shop owner.","operationId":"Suppliers_GetByShopOwner","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the Shop owner.","required":true,"type":"integer","format":"int32"},{"name":"isActive","in":"query","description":"If set, filter on whether supplier is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/Suppliers/Search/{search}":{"get":{"tags":["Suppliers"],"summary":"Get a list with all Suppliers for specified Shop owner and search in following fields:\r\n- FullName\r\n- CompanyName\r\n- EMail address","operationId":"Suppliers_SearchAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"The id of the Shop owner.","required":true,"type":"integer","format":"int32"},{"name":"search","in":"path","description":"The search value.","required":true,"type":"string"},{"name":"isActive","in":"query","description":"If set, filter on whether supplier is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}}},"/v1/Suppliers":{"get":{"tags":["Suppliers"],"summary":"Get a list with all Suppliers available for the logged in user.","operationId":"Suppliers_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"isActive","in":"query","description":"If set, filter on whether supplier is active or not","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ContactPersonBasicInfo"}}}}},"put":{"tags":["Suppliers"],"summary":"Update an existing Supplier.","operationId":"Suppliers_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"supplier","in":"body","description":"The Supplier changes object","required":true,"schema":{"$ref":"#/definitions/SupplierChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Suppliers"],"summary":"Add a new Supplier.","operationId":"Suppliers_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"supplier","in":"body","description":"The Supplier changes object","required":true,"schema":{"$ref":"#/definitions/SupplierChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Supplier"}}}}},"/v1/Suppliers/{id}":{"get":{"tags":["Suppliers"],"summary":"Get detailed information about a Supplier.","operationId":"Suppliers_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Supplier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Supplier"}}}},"delete":{"tags":["Suppliers"],"summary":"Delete given Supplier.","operationId":"Suppliers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The Supplier Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Suppliers/{id}/Products":{"get":{"tags":["Suppliers"],"summary":"Get a list with all Products available by the Supplier.","operationId":"Suppliers_GetAllSupplierProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Supplier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseProductBasicInfo"}}}}}},"/v1/Me":{"get":{"tags":["System"],"summary":"Get current API user info","operationId":"System_Me","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/EmployeeBasicInfo"}}}}},"/v1/Me/Shops":{"get":{"tags":["System"],"summary":"Returns available shops for current user","operationId":"System_GetShopsForCurrentUser","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ShopBasicInfo"}}}}}},"/v1/System/AppModules":{"get":{"tags":["System"],"summary":"Returns a list of (enabled) AppModules","operationId":"System_GetEnabledAppModules","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/AppModuleDefinition"}}}}}},"/v1/System/AppModules/Feature/{feature}":{"get":{"tags":["System"],"summary":"Returns a list of (enabled) AppModules","operationId":"System_GetEnabledAppModulesByFeature","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"feature","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/AppModuleDefinition"}}}}}},"/v1/System/AppModuleFeatures":{"get":{"tags":["System"],"operationId":"System_GetAppModuleFeatures","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}}}},"/v1/System/Version":{"get":{"tags":["System"],"operationId":"System_GetVersion","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"string"}}}}},"/v1/System/Time":{"get":{"tags":["System"],"summary":"Return the current DateTime of the server","operationId":"System_Time","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"format":"date-time","type":"string"}}}}},"/v1/SyncSystemRequests":{"post":{"tags":["System"],"summary":"Creates a sync system request.","operationId":"System_CreateSyncSystemRequest","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"parameters","in":"body","description":"The parameters to create a sync system request with.","required":true,"schema":{"$ref":"#/definitions/SyncSystemRequestPostParameters"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SyncSystemRequestBasicInfo"}}}}}},"/v1/Shops/{shopId}/Tickets":{"get":{"tags":["Tickets"],"summary":"Get a list with all Tickets, for given shop.","operationId":"Tickets_GetAllTickets","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDateChanged","in":"query","description":"Optionally specify a from date for changed tickets.","required":false,"type":"string","format":"date-time"},{"name":"untilDateChanged","in":"query","description":"Optionally specify a until date for changed tickets.","required":false,"type":"string","format":"date-time"},{"name":"mainStatusId","in":"query","description":"Optionally specify a status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"mainStatusBaseStatusId","in":"query","description":"Optionally specify a base status Id to filter on.","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TicketBase"}}}}}},"/v1/Tickets/{id}":{"get":{"tags":["Tickets"],"summary":"Get detailed information about the Ticket.","operationId":"Tickets_GetTicket","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The id of the Ticket.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Ticket"}}}}},"/v1/Shops/{shopId}/Tickets/{code}":{"get":{"tags":["Tickets"],"summary":"Get detailed information about the Ticket.","operationId":"Tickets_GetTicketByCode","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","description":"The unique ShopCtrl Ticket code.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Ticket"}}}}},"/v1/Shops/{shopId}/Tickets/{code}/TicketId":{"get":{"tags":["Tickets"],"summary":"Get the ShopCtrl Ticket Id based on the TicketCode.","operationId":"Tickets_GetTicketIdByTicketCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"code","in":"path","description":"The unique ShopCtrl Ticket code.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/v1/Tickets/{id}/MainStatus/{statusId}":{"put":{"tags":["Tickets"],"summary":"Update the Main Ticket status.","operationId":"Tickets_SetMainTicketStatus","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The ticket id.","required":true,"type":"integer","format":"int32"},{"name":"statusId","in":"path","description":"The id the TicketStatus.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Shops/{shopId}/TicketStatuses":{"get":{"tags":["Tickets"],"summary":"Get a list with all TicketStatuses, for the given shop.","operationId":"Tickets_GetTicketStatuses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TicketStatus"}}}}}},"/v1/Shops/{shopId}/TicketTypes":{"get":{"tags":["Tickets"],"summary":"Get a list with all TicketTypes, for the given shop.","operationId":"Tickets_GetTicketTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TicketType"}}}}}},"/v1/Shops/{shopId}/Ticket":{"put":{"tags":["Tickets"],"summary":"Add a new ticket.","operationId":"Tickets_AddTicket","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop to create the ticket for.","required":true,"type":"integer","format":"int32"},{"name":"ticketChanges","in":"body","description":"The ticket data","required":true,"schema":{"$ref":"#/definitions/TicketChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Ticket"}}}}},"/v1/Tickets/{id}/Messages":{"get":{"tags":["Tickets"],"summary":"Get a list of the Ticket messages.","operationId":"Tickets_GetTicketMessages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Ticket.","required":true,"type":"integer","format":"int32"},{"name":"includeMail","in":"query","description":"Specifies if Mail messages should be included. The default value is `true`.","required":false,"type":"boolean"},{"name":"includeVoip","in":"query","description":"Specifies if VoIP messages should be included. The default value is `true`.","required":false,"type":"boolean"},{"name":"includeChat","in":"query","description":"Specifies if Chat messages should be included. The default value is `true`.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/TicketMessageList"}}}}},"/v1/Tickets/{id}/Comments":{"get":{"tags":["Tickets"],"summary":"Get a list with all comments of a given ticket.","operationId":"Tickets_GetComments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The ticket id.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrderComment"}}}}},"put":{"tags":["Tickets"],"summary":"Updates the specified comment.","operationId":"Tickets_UpdateComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The ticket id.","required":true,"type":"integer","format":"int32"},{"name":"comment","in":"body","description":"The comment.","required":true,"schema":{"$ref":"#/definitions/OrderCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Tickets"],"summary":"Adds the specified comment.","operationId":"Tickets_AddComment","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The ticket id.","required":true,"type":"integer","format":"int32"},{"name":"comment","in":"body","description":"The ticket comment.","required":true,"schema":{"$ref":"#/definitions/OrderCommentChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Tickets/{id}/Comments/{commentId}":{"delete":{"tags":["Tickets"],"summary":"Delete the specified comment.","operationId":"Tickets_DeleteComment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The ticket Id","required":true,"type":"integer","format":"int32"},{"name":"commentId","in":"path","description":"The comment Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Tickets/{ticketId}/AssignCategories":{"put":{"tags":["Tickets"],"summary":"Assign categories to a ticket.","operationId":"Tickets_TicketAssignCategories","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"ticketId","in":"path","description":"The Ticket identifier.","required":true,"type":"integer","format":"int32"},{"name":"categoryIds","in":"body","description":"The Category identifiers to assign to the Ticket.","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Tickets/{ticketId}/RemoveCategories":{"put":{"tags":["Tickets"],"summary":"Removes categories from a ticket.","operationId":"Tickets_TicketRemoveCategories","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"ticketId","in":"path","description":"The Ticket identifier.","required":true,"type":"integer","format":"int32"},{"name":"categoryIds","in":"body","description":"The Category identifiers to remove from the Ticket.","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Tickets/{ticketId}/Files":{"get":{"tags":["Tickets"],"summary":"Gets Ticket files.","operationId":"Tickets_GetFiles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ticketId","in":"path","description":"The id of the Ticket.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/FileBase"}}}}},"post":{"tags":["Tickets"],"summary":"Adds the file. \r\nThe action expects the file as binary data in the request body. \r\nThe action requires the \"filename\" header to be defined, with the correct file extension.\r\nThe action sets up the \"FileID\" response header.","operationId":"Tickets_AddFile","consumes":["image/bmp","image/png","image/jpg","image/jpeg","image/gif","text/csv","text/plain","audio/wav","audio/mpeg","video/mp4","video/mpeg","application/pdf","application/json","application/octet-stream"],"produces":["application/json","text/json"],"parameters":[{"name":"ticketId","in":"path","description":"The Ticket id","required":true,"type":"integer","format":"int32"},{"name":"file","in":"body","description":"File data","required":true,"type":"string","format":"binary"},{"name":"encoded","in":"header","description":"`true` if Base64 encoded","required":true,"type":"boolean","format":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Tickets/{ticketId}/Files/{fileId}":{"delete":{"tags":["Tickets"],"summary":"Deletes the Ticket file.","operationId":"Tickets_DeleteFile","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"ticketId","in":"path","description":"The Ticket id","required":true,"type":"integer","format":"int32"},{"name":"fileId","in":"path","description":"The file id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Ticket/Rate/{id}/{token}/{rating}":{"get":{"tags":["Tickets"],"summary":"Rate the Ticket.","operationId":"Tickets_RateTicket","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"token","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"rating","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/TransportCategories":{"get":{"tags":["TransportCategories"],"summary":"Get a list with all available TransportCategories for the logged in user.","operationId":"TransportCategories_TransportCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TransportCategoryBasicInfo"}}}}}},"/v1/TransportCategories/{transportCategoryId}":{"get":{"tags":["TransportCategories"],"summary":"Get detailed information about a TransportCategory.","operationId":"TransportCategories_GetTransportCategory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"transportCategoryId","in":"path","description":"The id of the TransportCategory.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/TransportCategory"}}}}},"/v1/TransportCategoryPrices/{transportCategoryId}":{"get":{"tags":["TransportCategories"],"summary":"Get price information about a TransportCategory.","operationId":"TransportCategories_GetTransportCategoryPrices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"transportCategoryId","in":"path","description":"The id of the TransportCategory.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/TransportCategoryPriceInfo"}}}}},"/v1/TransportCategoryPrices":{"get":{"tags":["TransportCategories"],"summary":"Get all price information about all TransportCategories.","operationId":"TransportCategories_GetTransportCategoryPrices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TransportCategoryPriceInfo"}}}}}},"/v1/ShopOwners/{shopOwnerId}/Triggers":{"get":{"tags":["Triggers"],"summary":"Get a list with all Triggers.","operationId":"Triggers_GetAllTriggers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"Shop owner identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TriggerBasicInfo"}}}}}},"/v1/Shops/{shopId}/Triggers":{"get":{"tags":["Triggers"],"summary":"Get a list with all available Triggers for this shop.","operationId":"Triggers_GetAllTriggersForShop","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Shop identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TriggerBasicInfo"}}}}}},"/v1/Triggers/{id}":{"get":{"tags":["Triggers"],"summary":"Get detailed information about a Trigger.","operationId":"Triggers_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the Trigger.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Trigger"}}}},"delete":{"tags":["Triggers"],"summary":"Delete a given Trigger.","operationId":"Triggers_Delete","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The Trigger Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Triggers":{"put":{"tags":["Triggers"],"summary":"Update an existing Trigger.","operationId":"Triggers_Update","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"trigger","in":"body","description":"The Trigger changes object","required":true,"schema":{"$ref":"#/definitions/TriggerChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Triggers"],"summary":"Add a new Trigger.","operationId":"Triggers_Add","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"trigger","in":"body","description":"The Trigger changes object","required":true,"schema":{"$ref":"#/definitions/TriggerChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Trigger"}}}}},"/v1/TriggerActionDefinitions":{"get":{"tags":["Triggers"],"summary":"Get a list with all TriggerActionDefinitions.","operationId":"Triggers_GetAllTriggerActionDefinitions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TriggerActionDefinition"}}}}}},"/v1/Uoms":{"get":{"tags":["UOM"],"summary":"Get a list with all available UOMs.","operationId":"UOM_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/UOM"}}}}}},"/v1/Shops/{shopId}/VATTariffs":{"get":{"tags":["VATTariffs"],"summary":"Get a list with all VAT tariffs which are available for given Shop.","operationId":"VATTariffs_GetShopVatTariffs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The shop identifier.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/VATTariff"}}}}}},"/v1/Shops/{shopId}/VoipCalls":{"get":{"tags":["VoipCalls"],"summary":"Get a list with all available VoipCalls, for given shop.","operationId":"VoipCalls_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"The id of the shop.","required":true,"type":"integer","format":"int32"},{"name":"fromDate","in":"query","description":"Optionally specify a from date.","required":false,"type":"string","format":"date-time"},{"name":"untilDate","in":"query","description":"Optionally specify an until date.","required":false,"type":"string","format":"date-time"},{"name":"dispostionId","in":"query","description":"Optionally specify a dispositionId. Answered = 0, NoAnswer = 1, Busy = 2, Other = 3","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","description":"The max number of items returned. Default this value is 100.","required":false,"type":"integer","format":"int32"},{"name":"pageNumber","in":"query","description":"The page to return. Default page 1 will be returned.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/VoipCallBasicInfo"}}}}},"post":{"tags":["VoipCalls"],"summary":"Creates new VoipCall. VoipServer needs to be of type 'Generic', can't be used with ShopCtrl managed Asterisk calls.","operationId":"VoipCalls_CreateVoipCall","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"call","in":"body","description":"Voip call arguments","required":true,"schema":{"$ref":"#/definitions/AddVoipCall"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VoipCall"}}}}},"/v1/VoipCalls/{VoipCallId}":{"get":{"tags":["VoipCalls"],"summary":"Get detailed information about an VoipCall.","operationId":"VoipCalls_GetVoipCall","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"VoipCallId","in":"path","description":"The id of the VoipCall.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VoipCall"}}}}},"/v1/Shops/{shopId}/VoipCalls/{voipCallId}":{"put":{"tags":["VoipCalls"],"summary":"Updates an unmanaged VoipCall. VoipServer needs to be of type 'Generic', can't be used with ShopCtrl managed Asterisk calls.","operationId":"VoipCalls_UpdateVoipCall","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"voipCallId","in":"path","description":"If of VoipCall","required":true,"type":"integer","format":"int32"},{"name":"call","in":"body","description":"Voip call arguments","required":true,"schema":{"$ref":"#/definitions/UpdateVoipCall"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VoipCall"}}}}},"/v1/Shops/{shopId}/VoipCalls/{voipCallId}/SetHandled":{"post":{"tags":["VoipCalls"],"summary":"Sets a voip call handled. Can be used on managed and unmanaged voipcalls.","operationId":"VoipCalls_SetVoipCallHandled","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"shopId","in":"path","description":"Id of shop","required":true,"type":"integer","format":"int32"},{"name":"voipCallId","in":"path","description":"If of VoipCall","required":true,"type":"integer","format":"int32"},{"name":"setHandledInfo","in":"body","description":"Set handled arguments","required":true,"schema":{"$ref":"#/definitions/VoipCallSetHandledDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/VoipCall"}}}}},"/v1/ShopOwners/{shopOwnerId}/Warehouses":{"get":{"tags":["Warehouses"],"summary":"Get a list with all Warehouses.","operationId":"Warehouses_GetAllWarehouses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopOwnerId","in":"path","description":"Shop owner identifier","required":true,"type":"integer","format":"int32"},{"name":"enabled","in":"query","description":"When set, warehouses are filtered on their enabled property.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}}}},"/v1/Shops/{shopId}/Warehouses":{"get":{"tags":["Warehouses"],"summary":"Get a list with all Warehouses.","operationId":"Warehouses_GetShopWarehouses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"shopId","in":"path","description":"Shop identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}}}},"/v1/Warehouses/{warehouseId}/Shops/{shopId}":{"put":{"tags":["Warehouses"],"summary":"Enable the specified Warehouse for the specified Shop.","operationId":"Warehouses_AddShopToWarehouse","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"Warehouse identifier","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"Shop identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Warehouses"],"summary":"Disable the specified Warehouse for the specified Shop.","operationId":"Warehouses_RemoveShopFromWarehouse","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"Warehouse identifier","required":true,"type":"integer","format":"int32"},{"name":"shopId","in":"path","description":"Shop identifier","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses":{"get":{"tags":["Warehouses"],"summary":"Get a list with all available Warehouses for the logged in user.","operationId":"Warehouses_GetAvailableWarehouses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}}},"put":{"tags":["Warehouses"],"summary":"Update an existing Warehouse.","operationId":"Warehouses_UpdateWarehouse","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouse","in":"body","description":"The Warehouse changes object","required":true,"schema":{"$ref":"#/definitions/WarehouseChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Warehouses"],"summary":"Add a new Warehouse.","operationId":"Warehouses_AddWarehouse","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouse","in":"body","description":"The Warehouse changes object","required":true,"schema":{"$ref":"#/definitions/WarehouseChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Warehouse"}}}}},"/v1/Warehouses/{warehouseId}":{"get":{"tags":["Warehouses"],"summary":"Get detailed information about a Warehouse.","operationId":"Warehouses_GetWarehouse","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Warehouse"}}}},"delete":{"tags":["Warehouses"],"summary":"Delete given Warehouse.","operationId":"Warehouses_DeleteWarehouse","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The Warehouse Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/Stock":{"get":{"tags":["Warehouses"],"summary":"Get a list with all product stock available in the Warehouse, grouped by ProductCode.","operationId":"Warehouses_GetWarehouseStock","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The Warehouse Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductStockInfo"}}}}}},"/v1/Warehouses/{warehouseId}/StockPerLocation":{"get":{"tags":["Warehouses"],"summary":"Get a list with all location product stock available in the Warehouse, grouped by ProductCode.","operationId":"Warehouses_GetWarehouseStockPerLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The Warehouse Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductStockLocationInfo"}}}}}},"/v1/Warehouses/{warehouseId}/Locations":{"get":{"tags":["Warehouses"],"summary":"Get all locations in the Warehouse.","operationId":"Warehouses_GetWarehouseLocations","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseLocationBasicInfo"}}}}}},"/v1/Warehouses/Locations/{warehouseLocationId}":{"get":{"tags":["Warehouses"],"summary":"Get detailed information about a WarehouseLocation.","operationId":"Warehouses_GetWarehouseLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseLocationId","in":"path","description":"The id of the WarehouseLocation.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/WarehouseLocation"}}}},"delete":{"tags":["Warehouses"],"summary":"Delete given WarehouseLocation. Keep in mind that a location can only be deleted when there is no stock available.","operationId":"Warehouses_DeleteWarehouseLocation","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseLocationId","in":"path","description":"The Warehouse Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/Locations":{"put":{"tags":["Warehouses"],"summary":"Update an existing WarehouseLocation.","operationId":"Warehouses_UpdateWarehouseLocation","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseLocation","in":"body","description":"The WarehouseLocation changes object","required":true,"schema":{"$ref":"#/definitions/WarehouseLocationChanges"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Warehouses"],"summary":"Add a new WarehouseLocation for a Warehouse.","operationId":"Warehouses_AddWarehouseWarehouseLocation","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseLocation","in":"body","description":"The WarehouseLocation changes object","required":true,"schema":{"$ref":"#/definitions/WarehouseLocationChanges"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/WarehouseLocation"}}}}},"/v1/Warehouses/Locations/{warehouseLocationId}/Stock":{"get":{"tags":["Warehouses"],"summary":"Get a list with all product stock available in the WarehouseLocation.","operationId":"Warehouses_GetWarehouseLocationStock","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseLocationId","in":"path","description":"The WarehouseLocation Id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ProductStockInfo"}}}}}},"/v1/Warehouses/{warehouseId}/Product/QtyAvailable":{"put":{"tags":["Warehouses"],"operationId":"Warehouses_UpdateProductStockOld","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"updateValues","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseProductStockUpdateInput"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"deprecated":true}},"/v1/Warehouses/{warehouseId}/Product/QtyOnHand":{"put":{"tags":["Warehouses"],"operationId":"Warehouses_UpdateProductStock","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"updateValues","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseProductStockUpdateInput"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/Product/{productCode}/QtyOnHand/{qty}":{"put":{"tags":["Warehouses"],"summary":"Changes the quantity on hand, the absolute value. For the default location.","operationId":"Warehouses_UpdateProductStock","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The warehouse id","required":true,"type":"integer","format":"int32"},{"name":"productCode","in":"path","description":"The product code","required":true,"type":"string"},{"name":"qty","in":"path","description":"The absolute value of the new quantity on hand","required":true,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}}}}},"/v1/Warehouses/{warehouseId}/Product/{productCode}/Location/{locationName}/QtyOnHand/{qty}":{"put":{"tags":["Warehouses"],"summary":"Changes the quantity on hand, the absolute value.","operationId":"Warehouses_UpdateProductStock","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The warehouse id","required":true,"type":"integer","format":"int32"},{"name":"productCode","in":"path","description":"The product code","required":true,"type":"string"},{"name":"locationName","in":"path","description":"The locaton name","required":true,"type":"string"},{"name":"qty","in":"path","description":"The absolute value of the new quantity on hand","required":true,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/Product/{productCode}/Location/{locationId}/AddQtyOnHand/{qty}":{"put":{"tags":["Warehouses"],"summary":"Adds or reduces the quantity on hand.","operationId":"Warehouses_AddProductStock","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The warehouse id","required":true,"type":"integer","format":"int32"},{"name":"productCode","in":"path","description":"The product code","required":true,"type":"string"},{"name":"locationId","in":"path","description":"The locaton id","required":true,"type":"integer","format":"int32"},{"name":"qty","in":"path","description":"The positive value to add or negative to reduce","required":true,"type":"number","format":"double"},{"name":"reason","in":"body","description":"The reason","required":true,"schema":{"$ref":"#/definitions/AddQtyOnHandInputReason"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/Stock/Move":{"put":{"tags":["Warehouses"],"summary":"Moves stock","operationId":"Warehouses_MoveStock","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"parameters","in":"body","description":"The parameters","required":true,"schema":{"$ref":"#/definitions/MoveStockParameters"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/Stock/MoveAdvanced":{"put":{"tags":["Warehouses"],"summary":"Moves advanced stock","operationId":"Warehouses_MoveAdvancedStock","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"parameters","in":"body","description":"The parameters","required":true,"schema":{"$ref":"#/definitions/MoveAdvancedStockParameters"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/Parameters":{"get":{"tags":["Warehouses"],"summary":"Get all Warehouse's Parameters.","operationId":"Warehouses_GetShopParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/WarehouseParameter"}}}}},"put":{"tags":["Warehouses"],"summary":"Updates or adds a Warehouse Parameter.","operationId":"Warehouses_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"},{"name":"warehouseParameter","in":"body","description":"The Warehouse parameter.","required":true,"schema":{"$ref":"#/definitions/WarehouseParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Warehouses"],"summary":"Updates or adds a Warehouse Parameter.","operationId":"Warehouses_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"},{"name":"warehouseParameter","in":"body","description":"The Warehouse parameter.","required":true,"schema":{"$ref":"#/definitions/WarehouseParameter"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/Warehouses/{warehouseId}/Parameters/{key}":{"put":{"tags":["Warehouses"],"summary":"Updates or adds the Warehouse Parameter.","operationId":"Warehouses_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The parameter key.","required":true,"type":"string"},{"name":"parameterValue","in":"body","description":"The parameter value.","required":true,"schema":{"$ref":"#/definitions/ParameterValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Warehouses"],"summary":"Updates or adds the Warehouse Parameter.","operationId":"Warehouses_UpdateOrAddShopParameter","consumes":["application/json","text/json","application/xml","text/xml"],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The parameter key.","required":true,"type":"string"},{"name":"parameterValue","in":"body","description":"The parameter value.","required":true,"schema":{"$ref":"#/definitions/ParameterValue"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Warehouses"],"summary":"Delete a specific Warehouse's Parameter.","operationId":"Warehouses_DeleteShopParameter","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"warehouseId","in":"path","description":"The id of the Warehouse.","required":true,"type":"integer","format":"int32"},{"name":"key","in":"path","description":"The Warehouse's Parameter key.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v1/System/AppModule/{appModuleId}/{consumerLevel}/{consumerId}/Webhook/{webhookKey}":{"post":{"tags":["Webhook"],"summary":"Queue a post of a webhook action for handling by the appropriate AppModule.\r\nThe HTTP header of the request will be stored in the SyncRequest as RequestParameters.","operationId":"Webhook_PostAppModuleWebhook","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"appModuleId","in":"path","description":"The AppModule ID","required":true,"type":"integer","format":"int32"},{"name":"consumerLevel","in":"path","description":"The ConsumerLevel","required":true,"type":"string","enum":["Shop","ShopGroup","ShopOwner","Global","Warehouse","Supplier","Customer"]},{"name":"consumerId","in":"path","description":"The ID of the consumer level","required":true,"type":"integer","format":"int32"},{"name":"webhookKey","in":"path","description":"A unique key for the webhook. The value will be stored in the SyncRequest.Command property.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"ActivityJournalCategory":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopOwnerId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"ActivityJournalEntry":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Category":{"$ref":"#/definitions/ActivityJournalCategory"},"Employee":{"$ref":"#/definitions/EmployeeBasicInfo"},"Shop":{"$ref":"#/definitions/ShopBasicInfo"},"Customer":{"$ref":"#/definitions/CustomerBasicInfo"},"Hours":{"format":"double","type":"number"},"Date":{"format":"date-time","type":"string"},"Subject":{"type":"string"},"Comment":{"type":"string"},"Billable":{"type":"boolean"}}},"EmployeeBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"Login":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopOwnerCompanyName":{"type":"string"},"IsAdmin":{"type":"boolean"},"IsShopOwnerAdmin":{"type":"boolean"},"LastLogin":{"format":"date-time","type":"string"},"PhoneExtension":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"CultureCode":{"type":"string"}}},"ShopBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopGroupId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"CustomerBasicInfo":{"type":"object","properties":{"CustomerCode":{"type":"string"},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"}}},"ActivityJournalEntryChanges":{"type":"object","properties":{"CategoryId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"Hours":{"format":"double","type":"number"},"Date":{"format":"date-time","type":"string"},"Subject":{"type":"string"},"Comment":{"type":"string"},"Billable":{"type":"boolean"}}},"CarrierAccountBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"AppModuleDefinitionId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"},"Warehouses":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}},"WarehouseBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"CarrierAccount":{"type":"object","properties":{"ShopOwnerId":{"format":"int32","type":"integer"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/StorablePropValue"}},"ShippingLabelTemplateId":{"format":"int32","type":"integer"},"ReturnShippingLabelTemplateId":{"format":"int32","type":"integer"},"DefaultGoodsDescription":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"AppModuleDefinitionId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"},"Warehouses":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}},"StorablePropValue":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"}}},"CarrierAccountChanges":{"type":"object","properties":{"ShopOwnerId":{"format":"int32","type":"integer"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/StorablePropValue"}},"ShippingLabelTemplateId":{"format":"int32","type":"integer"},"ReturnShippingLabelTemplateId":{"format":"int32","type":"integer"},"DefaultGoodsDescription":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"AppModuleDefinitionId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"},"Warehouses":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}}}},"Country":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"}}},"Culture":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CultureCode":{"type":"string"}}},"Currency":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Symbol":{"type":"string"}}},"CustomerContractBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ContractCode":{"type":"string"},"Name":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"}}},"CustomerContract":{"type":"object","properties":{"Active":{"type":"boolean"},"OrderComment":{"type":"string"},"Description":{"type":"string"},"EndDate":{"format":"date-time","type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderGenerationInterval":{"enum":["None","Weekly","BiWeekly","Monthly","Quarterly","Yearly"],"type":"string"},"LastOrderGeneratedDate":{"format":"date-time","type":"string"},"AutoGenerateInvoice":{"type":"boolean"},"OrderGenerateMoment":{"enum":["Begin","Middle","End","Five","TwentyFive","Fourteenth"],"type":"string"},"MailInvoiceToCustomer":{"type":"boolean"},"InvoiceMailTemplateId":{"format":"int32","type":"integer"},"OrderGenerationPeriod":{"enum":["Current","Previous","Next"],"type":"string"},"OrderGenerationDateMode":{"enum":["DateOfCreation","LastDayOfPeriod","FirstDayOfPeriod"],"type":"string"},"InvoiceMainStatusAfterCreateId":{"format":"int32","type":"integer"},"NextScheduleDate":{"format":"date-time","type":"string"},"ViewModusIncVat":{"type":"boolean"},"PaymentTermsId":{"format":"int32","type":"integer"},"OrderCustomerRef":{"type":"string"},"PaymentTypeId":{"format":"int32","type":"integer"},"OrderMainStatusAfterCreateId":{"format":"int32","type":"integer"},"ShopName":{"type":"string"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Products":{"type":"array","items":{"$ref":"#/definitions/CustomerContractProduct"}},"Id":{"format":"int32","type":"integer"},"ContractCode":{"type":"string"},"Name":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"}}},"CustomerContractProduct":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"DefaultQty":{"format":"int32","type":"integer"},"PriceMode":{"enum":["UseActualPrice","TierPriceFixedPrice","TierPricePercentageDiscount"],"type":"string"},"QuantityMode":{"enum":["FixedQuantity"],"type":"string"},"IncludeToOrderMode":{"enum":["AlwaysAddToOrder","WhenDateInBillingPeriodAddToOrder"],"type":"string"},"IncludeDateRepeatsMode":{"enum":["Dayly","Weekly","Monthly","Yearly"],"type":"string"},"IncludeDateEndsMode":{"enum":["Never","AfterOccurrences","OnDate"],"type":"string"},"Comment":{"type":"string"},"IncludeDateRepeatEvery":{"format":"int32","type":"integer"},"IncludeDateEndsOccurrences":{"format":"int32","type":"integer"},"IncludeDateStart":{"format":"date-time","type":"string"},"IncludeDateEndsDate":{"format":"date-time","type":"string"},"InternalComment":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"VattariffId":{"format":"int32","type":"integer"},"TierPriceValues":{"type":"array","items":{"$ref":"#/definitions/ProductTierPriceValue"}}}},"ProductTierPriceValue":{"type":"object","properties":{"QtyAndAbove":{"format":"double","type":"number"},"Value":{"format":"double","type":"number"}}},"CustomerContractChanges":{"type":"object","properties":{"LastOrderGeneratedDate":{"format":"date-time","type":"string"},"NextScheduleDate":{"format":"date-time","type":"string"},"Active":{"type":"boolean"},"OrderComment":{"type":"string"},"Description":{"type":"string"},"EndDate":{"format":"date-time","type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderGenerationInterval":{"enum":["None","Weekly","BiWeekly","Monthly","Quarterly","Yearly"],"type":"string"},"AutoGenerateInvoice":{"type":"boolean"},"OrderGenerateMoment":{"enum":["Begin","Middle","End","Five","TwentyFive","Fourteenth"],"type":"string"},"MailInvoiceToCustomer":{"type":"boolean"},"InvoiceMailTemplateId":{"format":"int32","type":"integer"},"OrderGenerationPeriod":{"enum":["Current","Previous","Next"],"type":"string"},"OrderGenerationDateMode":{"enum":["DateOfCreation","LastDayOfPeriod","FirstDayOfPeriod"],"type":"string"},"InvoiceMainStatusAfterCreateId":{"format":"int32","type":"integer"},"ViewModusIncVat":{"type":"boolean"},"PaymentTermsId":{"format":"int32","type":"integer"},"OrderCustomerRef":{"type":"string"},"PaymentTypeId":{"format":"int32","type":"integer"},"OrderMainStatusAfterCreateId":{"format":"int32","type":"integer"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Products":{"type":"array","items":{"$ref":"#/definitions/CustomerContractProduct"}},"Id":{"format":"int32","type":"integer"},"ContractCode":{"type":"string"},"Name":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"}}},"OrderBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Type":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string","readOnly":true},"OrderTypeId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"OrderTotalIncVat":{"format":"double","type":"number"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"AffiliateId":{"format":"int32","type":"integer"}}},"Parameter":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"enum":["String","Date","Boolean","Number","Lookup","RichText"],"type":"string"},"DataTypeName":{"type":"string","readOnly":true}}},"ContactPersonBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"IsActive":{"type":"boolean"}}},"Customer":{"type":"object","properties":{"CustomerCode":{"type":"string"},"ReceiveNewsLetter":{"type":"boolean"},"EanInvoiceNumber":{"type":"string"},"InvoiceEmailAddress":{"type":"string"},"ReminderInvoiceEmailAddress":{"type":"string"},"MaxOutstandingAmount":{"format":"double","type":"number"},"CustomerGroupId":{"format":"int32","type":"integer"},"Incoterms":{"enum":["EXW","DAP","DDP","CPT","FCA"],"type":"string"},"BillToAddress":{"$ref":"#/definitions/ContactInfo"},"ShipToAddress":{"$ref":"#/definitions/ContactInfo"},"CompanyContacts":{"type":"array","items":{"$ref":"#/definitions/CompanyContact"}},"ShopOwnerId":{"format":"int32","type":"integer"},"PersonTitle":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastNamePrefix":{"type":"string"},"LastName":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"PersonalNumber":{"type":"string"},"IsActive":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"ContactInfo":{"required":["PostalCode","City"],"type":"object","properties":{"VatNumber":{"type":"string"},"CocNumber":{"type":"string"},"FullName":{"type":"string"},"DateOfBirth":{"format":"date-time","type":"string"},"Gender":{"type":"string"},"PersonTitle":{"type":"string"},"MiddleName":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"LastNamePrefix":{"type":"string"},"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"Address":{"maxLength":100,"minLength":0,"type":"string"},"Address2":{"maxLength":100,"minLength":0,"type":"string"},"StreetAddress":{"type":"string"},"StreetAddressNumber":{"type":"string"},"StreetAddressExtension":{"type":"string"},"PostalCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"CountryCode":{"maxLength":50,"minLength":0,"type":"string"},"CountryName":{"maxLength":50,"minLength":0,"type":"string","readOnly":true},"EMail":{"type":"string"},"Phone":{"type":"string"},"Phone2":{"type":"string"},"StateProvince":{"type":"string"},"StateProvinceCode":{"type":"string"}}},"CompanyContact":{"required":["PostalCode","City"],"type":"object","properties":{"CompanyContactId":{"format":"int32","type":"integer"},"Function":{"type":"string"},"VatNumber":{"type":"string"},"CocNumber":{"type":"string"},"FullName":{"type":"string"},"DateOfBirth":{"format":"date-time","type":"string"},"Gender":{"type":"string"},"PersonTitle":{"type":"string"},"MiddleName":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"LastNamePrefix":{"type":"string"},"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"Address":{"maxLength":100,"minLength":0,"type":"string"},"Address2":{"maxLength":100,"minLength":0,"type":"string"},"StreetAddress":{"type":"string"},"StreetAddressNumber":{"type":"string"},"StreetAddressExtension":{"type":"string"},"PostalCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"CountryCode":{"maxLength":50,"minLength":0,"type":"string"},"CountryName":{"maxLength":50,"minLength":0,"type":"string","readOnly":true},"EMail":{"type":"string"},"Phone":{"type":"string"},"Phone2":{"type":"string"},"StateProvince":{"type":"string"},"StateProvinceCode":{"type":"string"}}},"CustomerChanges":{"type":"object","properties":{"SyncShipToAddressOnSave":{"type":"boolean"},"SyncBillToAddressOnSave":{"type":"boolean"},"CompanyContacts":{"type":"array","items":{"$ref":"#/definitions/CompanyContact"}},"CustomerCode":{"type":"string"},"ReceiveNewsLetter":{"type":"boolean"},"EanInvoiceNumber":{"type":"string"},"InvoiceEmailAddress":{"type":"string"},"ReminderInvoiceEmailAddress":{"type":"string"},"MaxOutstandingAmount":{"format":"double","type":"number"},"CustomerGroupId":{"format":"int32","type":"integer"},"Incoterms":{"enum":["EXW","DAP","DDP","CPT","FCA"],"type":"string"},"BillToAddress":{"$ref":"#/definitions/ContactInfo"},"ShipToAddress":{"$ref":"#/definitions/ContactInfo"},"ShopOwnerId":{"format":"int32","type":"integer"},"PersonTitle":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastNamePrefix":{"type":"string"},"LastName":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"PersonalNumber":{"type":"string"},"IsActive":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"SendInvoiceTransport":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"EMailBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"MailboxId":{"format":"int32","type":"integer"}}},"EMail":{"type":"object","properties":{"MailServerMsgId":{"type":"string"},"FromAddress":{"type":"string"},"ToAddress":{"type":"string"},"CcAddress":{"type":"string"},"BccAddress":{"type":"string"},"Subject":{"type":"string"},"Content":{"type":"string"},"Note":{"type":"string"},"Categories":{"type":"array","items":{"$ref":"#/definitions/MessageCategory"}},"EmployeeId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"ReplyOnMailId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"MailboxId":{"format":"int32","type":"integer"}}},"MessageCategory":{"type":"object","properties":{"ShopId":{"format":"int32","type":"integer"},"ShopOwnerId":{"format":"int32","type":"integer"},"ParentMessageCategories":{"type":"array","items":{"$ref":"#/definitions/MessageCategoryBasicInfo"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ParentMessageCategoryId":{"format":"int32","type":"integer"}}},"MessageCategoryBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ParentMessageCategoryId":{"format":"int32","type":"integer"}}},"EMailbox":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"EMailChanges":{"type":"object","properties":{"ToAddress":{"type":"string"},"CcAddress":{"type":"string"},"BccAddress":{"type":"string"},"Subject":{"type":"string"},"Content":{"type":"string"},"Note":{"type":"string"},"Categories":{"type":"array","items":{"$ref":"#/definitions/MessageCategory"}},"EmployeeId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"}}},"EmailTemplateBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"EMailTemplate":{"type":"object","properties":{"ShopId":{"format":"int32","type":"integer"},"ShopOwnerId":{"format":"int32","type":"integer"},"CultureId":{"format":"int32","type":"integer"},"CultureCode":{"type":"string"},"Code":{"type":"string"},"Subject":{"type":"string"},"Content":{"type":"string"},"ToAddress":{"type":"string"},"CcAddress":{"type":"string"},"BccAddress":{"type":"string"},"Comment":{"type":"string"},"TemplateType":{"enum":["ForCustomer","ForSupplier"],"type":"string"},"MailKind":{"enum":["General","Offer","Order","Invoice","CreditInvoice","InvoiceReminder1","InvoiceReminder2","InvoiceReminder3","PurchaseOrder","OrderShipment","ServiceContract","OrderReturn"],"type":"string"},"Publish":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"EmployeeChanges":{"type":"object","properties":{"Password":{"type":"string"},"PublicAlias":{"type":"string"},"TimeZone":{"type":"string"},"BirthDate":{"format":"date-time","type":"string"},"Gender":{"enum":["Unknown","Male","Female"],"type":"string"},"EmailAddress":{"type":"string"},"JobTitle":{"type":"string"},"OfficeLocation":{"type":"string"},"MobilePhone":{"type":"string"},"Ref1":{"type":"string"},"Ref2":{"type":"string"},"LoginCount":{"format":"int32","type":"integer"},"LoginUserToken":{"type":"string"},"PictureFileId":{"format":"int32","type":"integer"},"ShopRoles":{"type":"array","items":{"$ref":"#/definitions/EmployeeShopRole"},"readOnly":true},"EmployeeGroups":{"type":"array","items":{"$ref":"#/definitions/EmployeeGroup"},"readOnly":true},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"Login":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopOwnerCompanyName":{"type":"string"},"IsAdmin":{"type":"boolean"},"IsShopOwnerAdmin":{"type":"boolean"},"LastLogin":{"format":"date-time","type":"string"},"PhoneExtension":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"CultureCode":{"type":"string"}}},"EmployeeShopRole":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Authorizations":{"type":"array","items":{"$ref":"#/definitions/ShopRoleAuthorization"},"readOnly":true}}},"EmployeeGroup":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"Enabled":{"type":"boolean"},"VoipQueue":{"type":"string"},"Description":{"type":"string"}}},"ShopRoleAuthorization":{"type":"object","properties":{"AuthCode":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"Employee":{"type":"object","properties":{"PublicAlias":{"type":"string"},"TimeZone":{"type":"string"},"BirthDate":{"format":"date-time","type":"string"},"Gender":{"enum":["Unknown","Male","Female"],"type":"string"},"EmailAddress":{"type":"string"},"JobTitle":{"type":"string"},"OfficeLocation":{"type":"string"},"MobilePhone":{"type":"string"},"Ref1":{"type":"string"},"Ref2":{"type":"string"},"LoginCount":{"format":"int32","type":"integer"},"LoginUserToken":{"type":"string"},"PictureFileId":{"format":"int32","type":"integer"},"ShopRoles":{"type":"array","items":{"$ref":"#/definitions/EmployeeShopRole"},"readOnly":true},"EmployeeGroups":{"type":"array","items":{"$ref":"#/definitions/EmployeeGroup"},"readOnly":true},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"Login":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopOwnerCompanyName":{"type":"string"},"IsAdmin":{"type":"boolean"},"IsShopOwnerAdmin":{"type":"boolean"},"LastLogin":{"format":"date-time","type":"string"},"PhoneExtension":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"CultureCode":{"type":"string"}}},"ShopRole":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"Enabled":{"type":"boolean"},"Authorizations":{"type":"array","items":{"$ref":"#/definitions/ShopRoleAuthorization"},"readOnly":true}}},"ExchangeRate":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"BaseCurrencyId":{"format":"int32","type":"integer"},"BaseCurrencyCode":{"type":"string"},"ForeignCurrencyId":{"format":"int32","type":"integer"},"ForeignCurrencyCode":{"type":"string"},"Rate":{"format":"double","type":"number"}}},"File":{"type":"object","properties":{"CreatedTimestamp":{"format":"date-time","type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"FileLength":{"format":"int64","type":"integer"},"Checksum":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"Base64Data":{"type":"string"},"Id":{"format":"int32","type":"integer"},"Filename":{"type":"string"}}},"AddFileDto":{"required":["Filename","FileType","Base64Data","ShopOwnerId"],"type":"object","properties":{"Filename":{"type":"string"},"FileType":{"enum":["Undefined","Offer","Order","OrderDataXML","Invoice","InvoiceReminder1","InvoiceReminder2","InvoiceReminder3","CreditInvoice","CommercialInvoice","MailInlineAttachment","TemplateDocument","ShippingLabel","PickList","BatchPickList","PackingSlip","ExternalPackingDocument","PurchaseOrder","WikiItemAttachment","OrderReturn","Image","Document","ReportConfigTemplate","VoipCallRecording","ProductLabel","StockItemLabel","WarehouseLocationLabel","ReturnForm","ServiceContract","RentalContract","TestModeResponse","ExternalModuleDataEbay","ExternalAmazonFreight"],"type":"string"},"Base64Data":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"}}},"InvoiceBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"InvoiceCode":{"type":"string"},"InvoiceDate":{"format":"date-time","type":"string"},"InvoiceTotalIncVat":{"format":"double","type":"number"},"InvoiceTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"PaymentStatusId":{"format":"int32","type":"integer"},"SentStatusId":{"format":"int32","type":"integer"},"CustomStatusId":{"format":"int32","type":"integer"},"DocumentFileId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer","readOnly":true},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"}}},"Invoice":{"type":"object","properties":{"MainStatus":{"$ref":"#/definitions/InvoiceStatus"},"MainStatusComment":{"type":"string"},"MainStatusActionDate":{"format":"date-time","type":"string"},"PaymentStatus":{"$ref":"#/definitions/InvoiceStatus"},"PaymentStatusComment":{"type":"string"},"PaymentStatusActionDate":{"format":"date-time","type":"string"},"SentStatus":{"$ref":"#/definitions/InvoiceStatus"},"SentStatusComment":{"type":"string"},"SentStatusActionDate":{"format":"date-time","type":"string"},"CustomStatus":{"$ref":"#/definitions/InvoiceStatus"},"CustomStatusComment":{"type":"string"},"CustomStatusActionDate":{"format":"date-time","type":"string"},"CultureCode":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"ExchangeRate":{"format":"double","type":"number","readOnly":true},"ShopId":{"format":"int32","type":"integer"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"PaymentTermsId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerNumber":{"type":"string"},"CustomerReference":{"type":"string"},"Note":{"type":"string"},"ShopNote":{"type":"string"},"BillToContact":{"$ref":"#/definitions/ContactInfo","readOnly":true},"ShipToContact":{"$ref":"#/definitions/ContactInfo","readOnly":true},"InvoiceRows":{"type":"array","items":{"$ref":"#/definitions/InvoiceRow"},"readOnly":true},"Id":{"format":"int32","type":"integer"},"InvoiceCode":{"type":"string"},"InvoiceDate":{"format":"date-time","type":"string"},"InvoiceTotalIncVat":{"format":"double","type":"number"},"InvoiceTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"PaymentStatusId":{"format":"int32","type":"integer"},"SentStatusId":{"format":"int32","type":"integer"},"CustomStatusId":{"format":"int32","type":"integer"},"DocumentFileId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"}}},"InvoiceStatus":{"type":"object","properties":{"Comment":{"type":"string"},"ActionDate":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"BaseInvoiceStatusId":{"format":"int32","type":"integer"},"InvoiceStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"InvoiceRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer","readOnly":true},"OrderRowId":{"format":"int32","type":"integer","readOnly":true},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductDescription":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"ItemPriceExVat":{"format":"double","type":"number"},"ItemPriceIncVat":{"format":"double","type":"number"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"VatTariffId":{"format":"int32","type":"integer"},"VatTariffCode":{"type":"string"},"VatPercentage":{"format":"double","type":"number","readOnly":true},"RowTotalExVat":{"format":"double","type":"number"},"RowTotalIncVat":{"format":"double","type":"number"},"Comment":{"type":"string"}}},"OrderRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer","readOnly":true},"OrderRowKey":{"type":"string"},"ItemQuantity":{"format":"double","type":"number"},"ProductName":{"type":"string"},"ProductCode":{"type":"string"},"ProductDescription":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"ItemPriceIncVat":{"format":"double","type":"number"},"ItemDiscountExVat":{"format":"double","type":"number"},"ItemDiscountIncVat":{"format":"double","type":"number"},"RowDiscountExVat":{"format":"double","type":"number"},"RowDiscountIncVat":{"format":"double","type":"number"},"Vatperc":{"format":"double","type":"number"},"VATTariffId":{"format":"int32","type":"integer"},"VATTariffCode":{"type":"string"},"RowTotalExVat":{"format":"double","type":"number"},"RowTotalIncVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"SupplierId":{"format":"int32","type":"integer"},"ItemPurchasePrice":{"format":"double","type":"number"},"CreditForOrderRowId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"ShopProductUrl":{"type":"string"},"ShopProductImageUrl":{"type":"string"},"ShipmentId":{"format":"int32","type":"integer"},"StockStatus":{"enum":["NotActive","AwaitingAllocation","NotEnoughStock","UnlimitedStock","Allocated","Dropship","PreAllocated","NotInStock","NotEnoughPickStock","NotShippable","DeAllocated","Cancelled","Credit"],"type":"string"},"IsAllocated":{"type":"boolean"},"WarehouseId":{"format":"int32","type":"integer"},"WarehouseSelectionMethod":{"enum":["Automatic","Manual"],"type":"string"},"Params":{"type":"array","items":{"$ref":"#/definitions/OrderRowParameter"}},"DisableRecalculate":{"type":"boolean"}}},"OrderRowParameter":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"enum":["String","Date","Boolean","Number","Lookup","RichText"],"type":"string"},"DataTypeName":{"type":"string","readOnly":true}}},"BaseInvoiceStatus":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"InvoiceStatusType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"InvoiceStatusBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"BaseInvoiceStatusId":{"format":"int32","type":"integer"},"InvoiceStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"InvoiceStatusDefinition":{"type":"object","properties":{"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"IsDefaultStatus":{"type":"boolean"},"HasActionDate":{"type":"boolean"},"ActionDateCaption":{"type":"string"},"ActionDateMessage":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"BaseInvoiceStatusId":{"format":"int32","type":"integer"},"InvoiceStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"MessageConversationBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CreationDate":{"format":"date-time","type":"string"},"LastActivityDate":{"format":"date-time","type":"string"},"FinishedDate":{"format":"date-time","type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerName":{"type":"string"},"Rating":{"format":"int32","type":"integer"},"ConversationType":{"type":"string"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"TicketId":{"format":"int32","type":"integer"},"TicketCode":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"EmployeeId":{"format":"int32","type":"integer"},"PlatformKindEnumValue":{"enum":["FlowAi","MessageBird"],"type":"string"},"ChannelId":{"type":"string"}}},"MessageConversationChanges":{"type":"object","properties":{"ExternalKey":{"type":"string"},"CustomerEmail":{"type":"string"},"CustomerPhone":{"type":"string"},"UserAgent":{"type":"string"},"HostName":{"type":"string"},"PathName":{"type":"string"},"Platform":{"type":"string"},"Url":{"type":"string"},"Realm":{"type":"string"},"Note":{"type":"string"},"Id":{"format":"int32","type":"integer"},"CreationDate":{"format":"date-time","type":"string"},"LastActivityDate":{"format":"date-time","type":"string"},"FinishedDate":{"format":"date-time","type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerName":{"type":"string"},"Rating":{"format":"int32","type":"integer"},"ConversationType":{"type":"string"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"TicketId":{"format":"int32","type":"integer"},"TicketCode":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"EmployeeId":{"format":"int32","type":"integer"},"PlatformKindEnumValue":{"enum":["FlowAi","MessageBird"],"type":"string"},"ChannelId":{"type":"string"}}},"MessageConversation":{"type":"object","properties":{"ExternalKey":{"type":"string"},"CustomerEmail":{"type":"string"},"CustomerPhone":{"type":"string"},"UserAgent":{"type":"string"},"HostName":{"type":"string"},"PathName":{"type":"string"},"Platform":{"type":"string"},"Url":{"type":"string"},"Realm":{"type":"string"},"Note":{"type":"string"},"Id":{"format":"int32","type":"integer"},"CreationDate":{"format":"date-time","type":"string"},"LastActivityDate":{"format":"date-time","type":"string"},"FinishedDate":{"format":"date-time","type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerName":{"type":"string"},"Rating":{"format":"int32","type":"integer"},"ConversationType":{"type":"string"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"TicketId":{"format":"int32","type":"integer"},"TicketCode":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"EmployeeId":{"format":"int32","type":"integer"},"PlatformKindEnumValue":{"enum":["FlowAi","MessageBird"],"type":"string"},"ChannelId":{"type":"string"}}},"MessageBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"MessageConversationId":{"format":"int32","type":"integer"},"Body":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"MessageSenderEnumValue":{"enum":["Employee","Customer","Bot","System"],"type":"string"},"IsRead":{"type":"boolean"},"TypeEnumValue":{"enum":["Text","Image","Audio","Video","Voice"],"type":"string"}}},"MessageChanges":{"type":"object","properties":{"ExternalKey":{"type":"string"},"ExternalTimestampUtc":{"format":"date-time","type":"string"},"ReplyDateUtc":{"format":"date-time","type":"string"},"ResponseTimeInSeconds":{"format":"int32","type":"integer"},"MaximumResponseTimeInSeconds":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"MessageConversationId":{"format":"int32","type":"integer"},"Body":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"MessageSenderEnumValue":{"enum":["Employee","Customer","Bot","System"],"type":"string"},"IsRead":{"type":"boolean"},"TypeEnumValue":{"enum":["Text","Image","Audio","Video","Voice"],"type":"string"}}},"Message":{"type":"object","properties":{"ExternalKey":{"type":"string"},"ExternalTimestampUtc":{"format":"date-time","type":"string"},"ReplyDateUtc":{"format":"date-time","type":"string"},"ResponseTimeInSeconds":{"format":"int32","type":"integer"},"MaximumResponseTimeInSeconds":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"MessageConversationId":{"format":"int32","type":"integer"},"Body":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"MessageSenderEnumValue":{"enum":["Employee","Customer","Bot","System"],"type":"string"},"IsRead":{"type":"boolean"},"TypeEnumValue":{"enum":["Text","Image","Audio","Video","Voice"],"type":"string"}}},"OfferBasicInfo":{"type":"object","properties":{"CompanyName":{"type":"string"},"FullName":{"type":"string"},"Id":{"format":"int32","type":"integer"},"OfferCode":{"type":"string"},"OfferDate":{"format":"date-time","type":"string"},"ValidUntil":{"format":"date-time","type":"string"},"OfferTotalIncVat":{"format":"double","type":"number"},"OfferTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string","readOnly":true},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"MainStatusComment":{"type":"string"},"MainStatusActionDate":{"format":"date-time","type":"string"},"CustomStatusId":{"format":"int32","type":"integer"},"CustomStatusComment":{"type":"string"},"CustomStatusActionDate":{"format":"date-time","type":"string"},"Note":{"type":"string"}}},"OfferChanges":{"type":"object","properties":{"CultureCode":{"type":"string"},"ShopNote":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"ExchangeRate":{"format":"double","type":"number"},"ShopId":{"format":"int32","type":"integer"},"ViewModusIncVAT":{"type":"boolean"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerReference":{"type":"string"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"OfferRows":{"type":"array","items":{"$ref":"#/definitions/OfferRow"}},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"Id":{"format":"int32","type":"integer"},"OfferCode":{"type":"string"},"OfferDate":{"format":"date-time","type":"string"},"ValidUntil":{"format":"date-time","type":"string"},"OfferTotalIncVat":{"format":"double","type":"number"},"OfferTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string","readOnly":true},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"MainStatusComment":{"type":"string"},"MainStatusActionDate":{"format":"date-time","type":"string"},"CustomStatusId":{"format":"int32","type":"integer"},"CustomStatusComment":{"type":"string"},"CustomStatusActionDate":{"format":"date-time","type":"string"},"Note":{"type":"string"}}},"OfferRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"ProductName":{"type":"string"},"ProductCode":{"type":"string"},"ProductDescription":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"ItemPriceIncVat":{"format":"double","type":"number"},"ItemDiscountExVat":{"format":"double","type":"number"},"ItemDiscountIncVat":{"format":"double","type":"number"},"RowDiscountExVat":{"format":"double","type":"number"},"RowDiscountIncVat":{"format":"double","type":"number"},"Vatperc":{"format":"double","type":"number"},"VATTariffId":{"format":"int32","type":"integer"},"VATTariffCode":{"type":"string"},"RowTotalExVat":{"format":"double","type":"number"},"RowTotalIncVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"ItemPurchasePrice":{"format":"double","type":"number"},"Sequence":{"format":"int32","type":"integer"}}},"Offer":{"type":"object","properties":{"CultureCode":{"type":"string"},"ShopNote":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"ExchangeRate":{"format":"double","type":"number"},"ShopId":{"format":"int32","type":"integer"},"ViewModusIncVAT":{"type":"boolean"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerReference":{"type":"string"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"OfferRows":{"type":"array","items":{"$ref":"#/definitions/OfferRow"}},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"Id":{"format":"int32","type":"integer"},"OfferCode":{"type":"string"},"OfferDate":{"format":"date-time","type":"string"},"ValidUntil":{"format":"date-time","type":"string"},"OfferTotalIncVat":{"format":"double","type":"number"},"OfferTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string","readOnly":true},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"MainStatusComment":{"type":"string"},"MainStatusActionDate":{"format":"date-time","type":"string"},"CustomStatusId":{"format":"int32","type":"integer"},"CustomStatusComment":{"type":"string"},"CustomStatusActionDate":{"format":"date-time","type":"string"},"Note":{"type":"string"}}},"OffersExistsResponse":{"type":"object","properties":{"Offers":{"type":"object","additionalProperties":{"type":"boolean"}}}},"OrderBasicInfo":{"type":"object","properties":{"CompanyName":{"type":"string"},"FullName":{"type":"string"},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Type":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string","readOnly":true},"OrderTypeId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"OrderTotalIncVat":{"format":"double","type":"number"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"AffiliateId":{"format":"int32","type":"integer"}}},"OrderChanges":{"type":"object","properties":{"Shipments":{"type":"array","items":{"$ref":"#/definitions/ShipmentBasicInfo"}},"RecalculateTotalsOnSave":{"type":"boolean"},"SynchronizeOrderParameters":{"type":"boolean"},"AutoCreateCustomer":{"type":"boolean"},"Type":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string"},"OrderType":{"$ref":"#/definitions/OrderType"},"PreferredDeliveryDate":{"format":"date-time","type":"string"},"MainStatus":{"$ref":"#/definitions/OrderStatus"},"PaymentStatus":{"$ref":"#/definitions/OrderStatus"},"StockStatus":{"$ref":"#/definitions/OrderStatus"},"FulfilmentStatus":{"$ref":"#/definitions/OrderStatus"},"ShipmentStatus":{"$ref":"#/definitions/OrderStatus"},"CustomStatus":{"$ref":"#/definitions/OrderStatus"},"CultureCode":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"Incoterms":{"enum":["EXW","DAP","DDP","CPT","FCA"],"type":"string"},"ExchangeRate":{"format":"double","type":"number"},"ShopId":{"format":"int32","type":"integer"},"ViewModusIncVAT":{"type":"boolean"},"ExternalOrderKey":{"type":"string"},"CouponCode":{"type":"string"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"PurchaseTypeId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerReference":{"type":"string"},"CustomerNote":{"type":"string"},"CustomerRating":{"enum":["Rated0Stars","Rated1Star","Rated2Stars","Rated3Stars","Rated4Stars","Rated5Stars","NotRated","InvitationSent","DoNotSendInvitation"],"type":"string"},"ShopNote":{"type":"string"},"SyncSource":{"type":"string"},"CustomerIpaddress":{"type":"string"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"OrderRows":{"type":"array","items":{"$ref":"#/definitions/OrderRow"}},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"OrderTypeId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"OrderTotalIncVat":{"format":"double","type":"number"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"AffiliateId":{"format":"int32","type":"integer"}}},"ShipmentBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShippingCode":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"},"ParcelId":{"format":"int32","type":"integer"},"PickedTimestamp":{"format":"date-time","type":"string"},"PackedTimestamp":{"format":"date-time","type":"string"},"ShippedTimestamp":{"format":"date-time","type":"string"},"HandOverTimestamp":{"format":"date-time","type":"string"},"ShipmentType":{"enum":["OwnShipping","Dropshipment"],"type":"string"}}},"OrderType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"},"FulfilmentPriority":{"format":"int32","type":"integer"},"OrderTypeEnumValue":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string"}}},"OrderStatus":{"type":"object","properties":{"Comment":{"type":"string"},"ActionDate":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"BaseOrderStatusId":{"format":"int32","type":"integer"},"OrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"}}},"Order":{"type":"object","properties":{"OrderType":{"$ref":"#/definitions/OrderType"},"PreferredDeliveryDate":{"format":"date-time","type":"string"},"MainStatus":{"$ref":"#/definitions/OrderStatus"},"PaymentStatus":{"$ref":"#/definitions/OrderStatus"},"StockStatus":{"$ref":"#/definitions/OrderStatus"},"FulfilmentStatus":{"$ref":"#/definitions/OrderStatus"},"ShipmentStatus":{"$ref":"#/definitions/OrderStatus"},"CustomStatus":{"$ref":"#/definitions/OrderStatus"},"CultureCode":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"Incoterms":{"enum":["EXW","DAP","DDP","CPT","FCA"],"type":"string"},"ExchangeRate":{"format":"double","type":"number"},"ShopId":{"format":"int32","type":"integer"},"ViewModusIncVAT":{"type":"boolean"},"ExternalOrderKey":{"type":"string"},"CouponCode":{"type":"string"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"PurchaseTypeId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerReference":{"type":"string"},"CustomerNote":{"type":"string"},"CustomerRating":{"enum":["Rated0Stars","Rated1Star","Rated2Stars","Rated3Stars","Rated4Stars","Rated5Stars","NotRated","InvitationSent","DoNotSendInvitation"],"type":"string"},"ShopNote":{"type":"string"},"SyncSource":{"type":"string"},"CustomerIpaddress":{"type":"string"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"OrderRows":{"type":"array","items":{"$ref":"#/definitions/OrderRow"}},"Parcels":{"type":"array","items":{"$ref":"#/definitions/ParcelBasicInfo"}},"Shipments":{"type":"array","items":{"$ref":"#/definitions/ShipmentBasicInfo"}},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Type":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string","readOnly":true},"OrderTypeId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"OrderTotalIncVat":{"format":"double","type":"number"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"AffiliateId":{"format":"int32","type":"integer"}}},"ParcelBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"TrackingCode":{"type":"string"},"TrackingUrl":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"CarrierName":{"type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"OrderShipmentId":{"format":"int32","type":"integer","readOnly":true},"ParcelStatus":{"enum":["NotPlanned","Planning","Planned","Shipping","Delivered","Cancelled","Exception","Deleted","Partiallydelivered","AvailableForPickup","InTransit","OutForDelivery","FailedAttempt","Expired","ReturnToSender","Delayed","Sorted","Labelled"],"type":"string"},"IsReturn":{"type":"boolean"},"ErrorMessage":{"type":"string"}}},"DetailedOrder":{"type":"object","properties":{"OrderRows":{"type":"array","items":{"$ref":"#/definitions/DetailedOrderRow"}},"Shipments":{"type":"array","items":{"$ref":"#/definitions/Shipment"}},"OrderType":{"$ref":"#/definitions/OrderType"},"PreferredDeliveryDate":{"format":"date-time","type":"string"},"MainStatus":{"$ref":"#/definitions/OrderStatus"},"PaymentStatus":{"$ref":"#/definitions/OrderStatus"},"StockStatus":{"$ref":"#/definitions/OrderStatus"},"FulfilmentStatus":{"$ref":"#/definitions/OrderStatus"},"ShipmentStatus":{"$ref":"#/definitions/OrderStatus"},"CustomStatus":{"$ref":"#/definitions/OrderStatus"},"CultureCode":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"Incoterms":{"enum":["EXW","DAP","DDP","CPT","FCA"],"type":"string"},"ExchangeRate":{"format":"double","type":"number"},"ShopId":{"format":"int32","type":"integer"},"ViewModusIncVAT":{"type":"boolean"},"ExternalOrderKey":{"type":"string"},"CouponCode":{"type":"string"},"PaymentFeeIncVat":{"format":"double","type":"number"},"PaymentFeeExVat":{"format":"double","type":"number"},"ShippingCostsIncVat":{"format":"double","type":"number"},"ShippingCostsExVat":{"format":"double","type":"number"},"PaymentTypeId":{"format":"int32","type":"integer"},"PurchaseTypeId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerReference":{"type":"string"},"CustomerNote":{"type":"string"},"CustomerRating":{"enum":["Rated0Stars","Rated1Star","Rated2Stars","Rated3Stars","Rated4Stars","Rated5Stars","NotRated","InvitationSent","DoNotSendInvitation"],"type":"string"},"ShopNote":{"type":"string"},"SyncSource":{"type":"string"},"CustomerIpaddress":{"type":"string"},"DiscountExVat":{"format":"double","type":"number"},"DiscountIncVat":{"format":"double","type":"number"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"Parcels":{"type":"array","items":{"$ref":"#/definitions/ParcelBasicInfo"}},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Type":{"enum":["SalesOrder","ServiceOrder","IntracompanyOrder","GenericOrder","RentalOrder"],"type":"string","readOnly":true},"OrderTypeId":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"},"OrderTotalIncVat":{"format":"double","type":"number"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"AffiliateId":{"format":"int32","type":"integer"}}},"DetailedOrderRow":{"type":"object","properties":{"Product":{"$ref":"#/definitions/Product"},"Id":{"format":"int32","type":"integer"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer","readOnly":true},"OrderRowKey":{"type":"string"},"ItemQuantity":{"format":"double","type":"number"},"ProductName":{"type":"string"},"ProductCode":{"type":"string"},"ProductDescription":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"ItemPriceIncVat":{"format":"double","type":"number"},"ItemDiscountExVat":{"format":"double","type":"number"},"ItemDiscountIncVat":{"format":"double","type":"number"},"RowDiscountExVat":{"format":"double","type":"number"},"RowDiscountIncVat":{"format":"double","type":"number"},"Vatperc":{"format":"double","type":"number"},"VATTariffId":{"format":"int32","type":"integer"},"VATTariffCode":{"type":"string"},"RowTotalExVat":{"format":"double","type":"number"},"RowTotalIncVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"SupplierId":{"format":"int32","type":"integer"},"ItemPurchasePrice":{"format":"double","type":"number"},"CreditForOrderRowId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"ShopProductUrl":{"type":"string"},"ShopProductImageUrl":{"type":"string"},"ShipmentId":{"format":"int32","type":"integer"},"StockStatus":{"enum":["NotActive","AwaitingAllocation","NotEnoughStock","UnlimitedStock","Allocated","Dropship","PreAllocated","NotInStock","NotEnoughPickStock","NotShippable","DeAllocated","Cancelled","Credit"],"type":"string"},"IsAllocated":{"type":"boolean"},"WarehouseId":{"format":"int32","type":"integer"},"WarehouseSelectionMethod":{"enum":["Automatic","Manual"],"type":"string"},"Params":{"type":"array","items":{"$ref":"#/definitions/OrderRowParameter"}},"DisableRecalculate":{"type":"boolean"}}},"Shipment":{"type":"object","properties":{"PreferredShipDate":{"format":"date-time","type":"string"},"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}},"Params":{"type":"array","items":{"$ref":"#/definitions/ShipmentParameter"}},"Packages":{"type":"array","items":{"$ref":"#/definitions/ShipmentPackage"}},"Id":{"format":"int32","type":"integer"},"ShippingCode":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"},"ParcelId":{"format":"int32","type":"integer"},"PickedTimestamp":{"format":"date-time","type":"string"},"PackedTimestamp":{"format":"date-time","type":"string"},"ShippedTimestamp":{"format":"date-time","type":"string"},"HandOverTimestamp":{"format":"date-time","type":"string"},"ShipmentType":{"enum":["OwnShipping","Dropshipment"],"type":"string"}}},"Product":{"type":"object","properties":{"OrderComment":{"type":"string"},"UnClass":{"type":"string"},"UnNumber":{"format":"int32","type":"integer"},"UnPackingGroup":{"format":"int32","type":"integer"},"MainImageChangedTimestamp":{"format":"date-time","type":"string"},"SyncEnabled":{"type":"boolean"},"Properties":{"type":"array","items":{"$ref":"#/definitions/ProductProperty"}},"ShopGroupId":{"format":"int32","type":"integer"},"Note":{"type":"string"},"RefCode":{"type":"string"},"ProductBrand":{"$ref":"#/definitions/ProductBrand"},"ProductVariantParentId":{"format":"int32","type":"integer"},"VariantInfo":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"KeepStock":{"type":"boolean"},"IsShippable":{"type":"boolean"},"MinimumStock":{"format":"double","type":"number"},"MainImageFileId":{"format":"int32","type":"integer"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"},"Published":{"type":"boolean"},"Weight":{"format":"double","type":"number"},"WeightUOMId":{"format":"int32","type":"integer"},"Height":{"format":"double","type":"number"},"SizeUOMId":{"format":"int32","type":"integer"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Diameter":{"format":"double","type":"number"},"VolumeUOMId":{"format":"int32","type":"integer"},"Volume":{"format":"double","type":"number"},"PriceExVat":{"format":"double","type":"number"},"ProductPropertyDefSetId":{"format":"int32","type":"integer"},"TransportCategoryId":{"format":"int32","type":"integer"},"RequiresLotNumber":{"type":"boolean"},"RequiresExpiryDate":{"type":"boolean"},"RequiresSerialNumber":{"type":"boolean"},"IsGroupedProduct":{"type":"boolean"},"ExpiryWarningUnit":{"enum":["Day","Month"],"type":"string"},"FirstExpiryWarning":{"format":"int32","type":"integer"},"SecondExpiryWarning":{"format":"int32","type":"integer"},"ProductGroups":{"type":"array","items":{"format":"int32","type":"integer"}},"Resources":{"type":"array","items":{"$ref":"#/definitions/ProductResource"}},"ProductRelations":{"type":"array","items":{"$ref":"#/definitions/ProductRelation"}},"ProductVariantPropertyDefIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ProductVariantIds":{"type":"array","items":{"format":"int32","type":"integer"}},"OriginCountryId":{"format":"int32","type":"integer"},"OriginCountryCode":{"type":"string"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Hscode":{"type":"string"},"EAN":{"type":"string"},"Type":{"format":"int32","type":"integer"},"IsLocked":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"ShipmentParameter":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"enum":["String","Date","Boolean","Number","Lookup","RichText"],"type":"string"},"DataTypeName":{"type":"string","readOnly":true}}},"ShipmentPackage":{"type":"object","properties":{"Weight":{"format":"int32","type":"integer"},"Length":{"format":"int32","type":"integer"},"Width":{"format":"int32","type":"integer"},"Height":{"format":"int32","type":"integer"}}},"ProductProperty":{"type":"object","properties":{"CultureId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"ProductPropertyDefId":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Value":{"type":"string"}}},"ProductBrand":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Ref1":{"type":"string"},"Ref2":{"type":"string"},"Enabled":{"type":"boolean"},"LogoFileId":{"format":"int32","type":"integer"}}},"ProductResource":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CultureId":{"format":"int32","type":"integer"},"FileId":{"format":"int32","type":"integer"},"File":{"$ref":"#/definitions/File"},"Name":{"type":"string"},"Data":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"ResourceType":{"format":"int32","type":"integer"},"ContentType":{"format":"int32","type":"integer"},"ChangedTimestamp":{"format":"date-time","type":"string"},"CreatedTimestamp":{"format":"date-time","type":"string"}}},"ProductRelation":{"type":"object","properties":{"RelatedProductId":{"format":"int32","type":"integer"},"RelationType":{"format":"int32","type":"integer"},"Quantity":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"}}},"ShippableOrderRowsInfo":{"type":"object","properties":{"OrderId":{"format":"int32","type":"integer"},"ShippableOrderRows":{"type":"array","items":{"$ref":"#/definitions/ShippableOrderRow"}}}},"ShippableOrderRow":{"type":"object","properties":{"OrderRowId":{"format":"int32","type":"integer"},"WarehouseId":{"format":"int32","type":"integer"}}},"ProductRegistration":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"StatusId":{"format":"int32","type":"integer"},"ProductRegistrationCategoryId":{"format":"int32","type":"integer"},"UseByDatePreWarningDays":{"format":"int32","type":"integer"},"OrderRowId":{"format":"int32","type":"integer"},"SerialNumber":{"type":"string"},"UseByDate":{"format":"date-time","type":"string"},"Comment":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"}}},"ProductRegistrationChanges":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"StatusId":{"format":"int32","type":"integer"},"ProductRegistrationCategoryId":{"format":"int32","type":"integer"},"UseByDatePreWarningDays":{"format":"int32","type":"integer"},"OrderRowId":{"format":"int32","type":"integer"},"SerialNumber":{"type":"string"},"UseByDate":{"format":"date-time","type":"string"},"Comment":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"}}},"OrderComment":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"OfferId":{"format":"int32","type":"integer"},"TicketId":{"format":"int32","type":"integer"},"CommentType":{"format":"int32","type":"integer"}}},"OrderCommentChanges":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"OfferId":{"format":"int32","type":"integer"},"TicketId":{"format":"int32","type":"integer"},"CommentType":{"format":"int32","type":"integer"}}},"Payment":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"ShopOwnerId":{"format":"int32","type":"integer"},"Amount":{"format":"double","type":"number"},"PaymentDate":{"format":"date-time","type":"string"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Note":{"type":"string"},"AccountNumber":{"type":"string"},"AccountName":{"type":"string"},"TransactionId":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"ImportSource":{"type":"string"},"PaymentTypeId":{"format":"int32","type":"integer"},"PaymentAllocations":{"type":"array","items":{"$ref":"#/definitions/PaymentAllcation"}}}},"PaymentAllcation":{"type":"object","properties":{"OrderId":{"format":"int32","type":"integer"},"InvoiceId":{"format":"int32","type":"integer"},"AllocatedAmount":{"format":"double","type":"number"}}},"PaymentChanges":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"ShopOwnerId":{"format":"int32","type":"integer"},"Amount":{"format":"double","type":"number"},"PaymentDate":{"format":"date-time","type":"string"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Note":{"type":"string"},"AccountNumber":{"type":"string"},"AccountName":{"type":"string"},"TransactionId":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"ImportSource":{"type":"string"},"PaymentTypeId":{"format":"int32","type":"integer"},"PaymentAllocations":{"type":"array","items":{"$ref":"#/definitions/PaymentAllcation"}}}},"OrderStatusChangeForOrder":{"type":"object","properties":{"OrderStatusId":{"format":"int32","type":"integer"},"ActionDate":{"format":"date-time","type":"string"},"Comment":{"type":"string"}}},"AllocateOrderInfo":{"type":"object","properties":{"AlsoIncludeDeallocatedOrderRows":{"type":"boolean"},"WarehouseId":{"format":"int32","type":"integer"},"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}}}},"DeallocateOrderInfo":{"type":"object","properties":{"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}}}},"Parcel":{"type":"object","properties":{"LastCarrierUpdate":{"format":"date-time","type":"string"},"FirstDeliveryAttempt":{"format":"date-time","type":"string"},"ShipperTrackingUrl":{"type":"array","items":{"type":"string"}},"GoodsDescription":{"type":"string"},"DeliveredDate":{"format":"date-time","type":"string"},"Params":{"type":"array","items":{"$ref":"#/definitions/CarrierParameter"}},"ShippingLabels":{"type":"array","items":{"$ref":"#/definitions/ShippingLabel"}},"ShippingLabelFileId":{"format":"int32","type":"integer"},"ShipFrom":{"$ref":"#/definitions/ContactInfoAddress"},"ShipTo":{"$ref":"#/definitions/ContactInfoAddress"},"Id":{"format":"int32","type":"integer"},"TrackingCode":{"type":"string"},"TrackingUrl":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"CarrierName":{"type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"OrderShipmentId":{"format":"int32","type":"integer","readOnly":true},"ParcelStatus":{"enum":["NotPlanned","Planning","Planned","Shipping","Delivered","Cancelled","Exception","Deleted","Partiallydelivered","AvailableForPickup","InTransit","OutForDelivery","FailedAttempt","Expired","ReturnToSender","Delayed","Sorted","Labelled"],"type":"string"},"IsReturn":{"type":"boolean"},"ErrorMessage":{"type":"string"}}},"CarrierParameter":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"}}},"ShippingLabel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"TrackingCode":{"type":"string"},"DeliveryStatus":{"enum":["NotPlanned","Planned","Shipping","Delivered","Cancelled","Exception","Deleted"],"type":"string"},"Weight":{"format":"double","type":"number"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Height":{"format":"double","type":"number"},"DeliveredDate":{"format":"date-time","type":"string"},"LastCarrierUpdate":{"format":"date-time","type":"string"},"LastCarrierStatus":{"type":"string"}}},"ContactInfoAddress":{"required":["PostalCode","City"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"Address":{"maxLength":100,"minLength":0,"type":"string"},"Address2":{"maxLength":100,"minLength":0,"type":"string"},"StreetAddress":{"type":"string"},"StreetAddressNumber":{"type":"string"},"StreetAddressExtension":{"type":"string"},"PostalCode":{"type":"string"},"City":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"CountryCode":{"maxLength":50,"minLength":0,"type":"string"},"CountryName":{"maxLength":50,"minLength":0,"type":"string","readOnly":true},"EMail":{"type":"string"},"Phone":{"type":"string"},"Phone2":{"type":"string"},"StateProvince":{"type":"string"},"StateProvinceCode":{"type":"string"}}},"ParcelChanges":{"type":"object","properties":{"ShipmentId":{"format":"int32","type":"integer"},"ReturnId":{"format":"int32","type":"integer"},"SynchronizeParameters":{"type":"boolean"},"SynchronizeShippingLabels":{"type":"boolean"},"LastCarrierUpdate":{"format":"date-time","type":"string"},"FirstDeliveryAttempt":{"format":"date-time","type":"string"},"GoodsDescription":{"type":"string"},"DeliveredDate":{"format":"date-time","type":"string"},"Params":{"type":"array","items":{"$ref":"#/definitions/CarrierParameter"}},"ShippingLabels":{"type":"array","items":{"$ref":"#/definitions/ShippingLabel"}},"ShipFrom":{"$ref":"#/definitions/ContactInfoAddress"},"ShipTo":{"$ref":"#/definitions/ContactInfoAddress"},"Id":{"format":"int32","type":"integer"},"TrackingCode":{"type":"string"},"TrackingUrl":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ShopId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"OrderShipmentId":{"format":"int32","type":"integer","readOnly":true},"ParcelStatus":{"enum":["NotPlanned","Planning","Planned","Shipping","Delivered","Cancelled","Exception","Deleted","Partiallydelivered","AvailableForPickup","InTransit","OutForDelivery","FailedAttempt","Expired","ReturnToSender","Delayed","Sorted","Labelled"],"type":"string"},"IsReturn":{"type":"boolean"},"ErrorMessage":{"type":"string"}}},"AddShipmentInfo":{"type":"object","properties":{"OrderId":{"format":"int32","type":"integer"},"WarehouseId":{"format":"int32","type":"integer"},"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}},"ShippingCode":{"type":"string"},"PreferredShipDate":{"format":"date-time","type":"string"},"GeneratePickList":{"type":"boolean"},"GeneratePackingSlip":{"type":"boolean"},"PackingSlipTemplateId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"CashOnDeliveryPayment":{"format":"double","type":"number"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/OrderShipmentParam"}}}},"OrderShipmentParam":{"required":["Key"],"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"}}},"OrderReturn":{"type":"object","properties":{"CustomStatus":{"$ref":"#/definitions/OrderReturnStatus"},"CustomerComment":{"type":"string"},"MainStatus":{"$ref":"#/definitions/OrderReturnStatus"},"OrderReturnRows":{"type":"array","items":{"$ref":"#/definitions/OrderReturnRow"}},"Params":{"type":"array","items":{"$ref":"#/definitions/ReturnParameter"}},"ChangedTimestamp":{"format":"date-time","type":"string"},"CreatedTimestamp":{"format":"date-time","type":"string"},"CustomStatusId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"MainStatusId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"ReceivedDate":{"format":"date-time","type":"string"},"ClosedTimestamp":{"format":"date-time","type":"string"},"FollowUpTimestamp":{"format":"date-time","type":"string"},"ReturnCode":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"OrderReturnStatus":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"BaseStatusId":{"format":"int32","type":"integer"},"StatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"OrderReturnRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"OrderRowId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"Comment":{"type":"string"},"CustomerComment":{"type":"string"},"ReturnedQuantity":{"format":"double","type":"number"},"ApprovedQuantity":{"format":"double","type":"number"},"Resolution":{"enum":["Undefined","Refund","Exchange","Repair","Resend"],"type":"string"},"ReturnReasonId":{"format":"int32","type":"integer"},"MainReturnRowStatusId":{"format":"int32","type":"integer"},"ReturnConditionId":{"format":"int32","type":"integer"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"SupplierName":{"type":"string"},"CustomReturnRowStatusId":{"format":"int32","type":"integer"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/StockItem"},"readOnly":true}}},"ReturnParameter":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"enum":["String","Date","Boolean","Number","Lookup","RichText"],"type":"string"},"DataTypeName":{"type":"string","readOnly":true}}},"StockItem":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"LotNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"}}},"InvoiceBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"InvoiceCode":{"type":"string"},"InvoiceDate":{"format":"date-time","type":"string"},"InvoiceTotalIncVat":{"format":"double","type":"number"},"InvoiceTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"Deleted":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"PaymentStatusId":{"format":"int32","type":"integer"},"SentStatusId":{"format":"int32","type":"integer"},"CustomStatusId":{"format":"int32","type":"integer"},"DocumentFileId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer","readOnly":true},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"}}},"FileBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Filename":{"type":"string"}}},"StockItemWithOrderRow":{"type":"object","properties":{"OrderRowId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"LotNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"}}},"OrdersExistsResponse":{"type":"object","properties":{"Orders":{"type":"object","additionalProperties":{"type":"boolean"}}}},"BaseOrderStatus":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"OrderStatusType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"OrderStatusBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"BaseOrderStatusId":{"format":"int32","type":"integer"},"OrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"}}},"OrderStatusDefinition":{"type":"object","properties":{"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"IsDefaultStatusForId":{"format":"int32","type":"integer"},"HasActionDate":{"type":"boolean"},"ActionDateCaption":{"type":"string"},"ActionDateMessage":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"BaseOrderStatusId":{"format":"int32","type":"integer"},"OrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"}}},"OrderStatusChanges":{"type":"object","properties":{"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"IsDefaultStatusForId":{"format":"int32","type":"integer"},"HasActionDate":{"type":"boolean"},"ActionDateCaption":{"type":"string"},"ActionDateMessage":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"BaseOrderStatusId":{"format":"int32","type":"integer"},"OrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"}}},"ParcelsProductInfoResponse":{"type":"object","properties":{"TrackintCode":{"type":"string"},"Carrier":{"type":"string"},"VatTariffCode":{"type":"string"},"VatPercentage":{"format":"double","type":"number"},"OrderCode":{"type":"string"},"OrderId":{"format":"int32","type":"integer"},"InvoiceCode":{"type":"string"},"InvoiceFileId":{"format":"int32","type":"integer"},"InvoiceId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"WeightKg":{"format":"double","type":"number"},"LengthM":{"format":"double","type":"number"},"WidthM":{"format":"double","type":"number"},"HeightM":{"format":"double","type":"number"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"}}},"CarrierParameterValue":{"type":"object","properties":{"Value":{"type":"string"}}},"ParcelsExistsResponse":{"type":"object","properties":{"Parcels":{"type":"object","additionalProperties":{"type":"boolean"}}}},"PaymentType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"PaymentTerm":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"DaysToPay":{"format":"int32","type":"integer"}}},"ProductGroupBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ParentProductGroupId":{"format":"int32","type":"integer"},"NrOfChilds":{"format":"int32","type":"integer"}}},"ProductGroup":{"type":"object","properties":{"ChangedTimestamp":{"format":"date-time","type":"string"},"ShopGroupId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"SyncEnabled":{"type":"boolean"},"IsActive":{"type":"boolean"},"IncludeInNavigation":{"type":"boolean"},"ImageFileId":{"format":"int32","type":"integer"},"Children":{"type":"array","items":{"format":"int32","type":"integer"}},"Properties":{"type":"array","items":{"$ref":"#/definitions/ProductGroupProperty"},"readOnly":true},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ParentProductGroupId":{"format":"int32","type":"integer"},"NrOfChilds":{"format":"int32","type":"integer"}}},"ProductGroupProperty":{"type":"object","properties":{"CultureId":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Value":{"type":"string"}}},"ProductGroupChanges":{"type":"object","properties":{"SyncPropertiesOnSave":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"},"ShopGroupId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"SyncEnabled":{"type":"boolean"},"IsActive":{"type":"boolean"},"IncludeInNavigation":{"type":"boolean"},"ImageFileId":{"format":"int32","type":"integer"},"Children":{"type":"array","items":{"format":"int32","type":"integer"}},"Properties":{"type":"array","items":{"$ref":"#/definitions/ProductGroupProperty"},"readOnly":true},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ParentProductGroupId":{"format":"int32","type":"integer"}}},"ProductBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Hscode":{"type":"string"},"EAN":{"type":"string"},"Type":{"format":"int32","type":"integer"},"IsLocked":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"ProductListItem":{"type":"object","properties":{"MainImageFileId":{"format":"int32","type":"integer"},"KeepStock":{"type":"boolean"},"Published":{"type":"boolean"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"},"WeightKg":{"format":"double","type":"number"},"HeightM":{"format":"double","type":"number"},"LengthM":{"format":"double","type":"number"},"WidthM":{"format":"double","type":"number"},"DiameterM":{"format":"double","type":"number"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Hscode":{"type":"string"},"EAN":{"type":"string"},"Type":{"format":"int32","type":"integer"},"IsLocked":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"ProductChanges":{"type":"object","properties":{"SyncProductGroupsOnSave":{"type":"boolean"},"SyncPropertiesOnSave":{"type":"boolean"},"SyncProductRelationsOnSave":{"type":"boolean"},"OrderComment":{"type":"string"},"UnClass":{"type":"string"},"UnNumber":{"format":"int32","type":"integer"},"UnPackingGroup":{"format":"int32","type":"integer"},"MainImageChangedTimestamp":{"format":"date-time","type":"string"},"SyncEnabled":{"type":"boolean"},"Properties":{"type":"array","items":{"$ref":"#/definitions/ProductProperty"}},"ShopGroupId":{"format":"int32","type":"integer"},"Note":{"type":"string"},"RefCode":{"type":"string"},"ProductBrand":{"$ref":"#/definitions/ProductBrand"},"ProductVariantParentId":{"format":"int32","type":"integer"},"VariantInfo":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"KeepStock":{"type":"boolean"},"IsShippable":{"type":"boolean"},"MinimumStock":{"format":"double","type":"number"},"MainImageFileId":{"format":"int32","type":"integer"},"Published":{"type":"boolean"},"Weight":{"format":"double","type":"number"},"WeightUOMId":{"format":"int32","type":"integer"},"Height":{"format":"double","type":"number"},"SizeUOMId":{"format":"int32","type":"integer"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Diameter":{"format":"double","type":"number"},"VolumeUOMId":{"format":"int32","type":"integer"},"Volume":{"format":"double","type":"number"},"PriceExVat":{"format":"double","type":"number"},"ProductPropertyDefSetId":{"format":"int32","type":"integer"},"TransportCategoryId":{"format":"int32","type":"integer"},"RequiresLotNumber":{"type":"boolean"},"RequiresExpiryDate":{"type":"boolean"},"RequiresSerialNumber":{"type":"boolean"},"IsGroupedProduct":{"type":"boolean"},"ExpiryWarningUnit":{"enum":["Day","Month"],"type":"string"},"FirstExpiryWarning":{"format":"int32","type":"integer"},"SecondExpiryWarning":{"format":"int32","type":"integer"},"ProductGroups":{"type":"array","items":{"format":"int32","type":"integer"}},"ProductRelations":{"type":"array","items":{"$ref":"#/definitions/ProductRelation"}},"ProductVariantPropertyDefIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ProductVariantIds":{"type":"array","items":{"format":"int32","type":"integer"}},"OriginCountryId":{"format":"int32","type":"integer"},"OriginCountryCode":{"type":"string"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Hscode":{"type":"string"},"EAN":{"type":"string"},"Type":{"format":"int32","type":"integer"},"IsLocked":{"type":"boolean"}}},"ServiceProductsByProduct":{"type":"object","properties":{"ProductId":{"format":"int32","type":"integer"},"ServiceProducts":{"type":"array","items":{"$ref":"#/definitions/ServiceProduct"}}}},"ServiceProduct":{"type":"object","properties":{"ReplaceableParts":{"type":"array","items":{"$ref":"#/definitions/ServiceProductReplaceablePartInfo"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopGroupId":{"format":"int32","type":"integer"},"ShopGroupName":{"type":"string"},"ShopGroupIconUrl":{"type":"string"},"ProductBrandId":{"format":"int32","type":"integer"},"ProductBrandName":{"type":"string"},"WarrantyMonths":{"format":"int32","type":"integer"}}},"ServiceProductReplaceablePartInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"UseDiscount":{"type":"boolean"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductEan":{"type":"string"}}},"ServiceProductByProduct":{"type":"object","properties":{"ProductId":{"format":"int32","type":"integer"},"ServiceProduct":{"$ref":"#/definitions/ServiceProduct"}}},"ShopProduct":{"type":"object","properties":{"MainImageFile":{"$ref":"#/definitions/File"},"Properties":{"type":"array","items":{"$ref":"#/definitions/ShopProductProperty"}},"ShopId":{"format":"int32","type":"integer"},"ExchangeRate":{"format":"double","type":"number"},"ForeignPriceExVat":{"format":"double","type":"number"},"ForeignPriceInVat":{"format":"double","type":"number"},"VatTariff":{"$ref":"#/definitions/VATTariff"},"ShopGroupId":{"format":"int32","type":"integer"},"Note":{"type":"string"},"RefCode":{"type":"string"},"ProductBrand":{"$ref":"#/definitions/ProductBrand"},"ProductVariantParentId":{"format":"int32","type":"integer"},"VariantInfo":{"type":"string"},"CreationDate":{"format":"date-time","type":"string"},"KeepStock":{"type":"boolean"},"IsShippable":{"type":"boolean"},"MinimumStock":{"format":"double","type":"number"},"MainImageFileId":{"format":"int32","type":"integer"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"},"Published":{"type":"boolean"},"Weight":{"format":"double","type":"number"},"WeightUOMId":{"format":"int32","type":"integer"},"Height":{"format":"double","type":"number"},"SizeUOMId":{"format":"int32","type":"integer"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Diameter":{"format":"double","type":"number"},"VolumeUOMId":{"format":"int32","type":"integer"},"Volume":{"format":"double","type":"number"},"PriceExVat":{"format":"double","type":"number"},"ProductPropertyDefSetId":{"format":"int32","type":"integer"},"TransportCategoryId":{"format":"int32","type":"integer"},"RequiresLotNumber":{"type":"boolean"},"RequiresExpiryDate":{"type":"boolean"},"RequiresSerialNumber":{"type":"boolean"},"IsGroupedProduct":{"type":"boolean"},"ExpiryWarningUnit":{"enum":["Day","Month"],"type":"string"},"FirstExpiryWarning":{"format":"int32","type":"integer"},"SecondExpiryWarning":{"format":"int32","type":"integer"},"ProductGroups":{"type":"array","items":{"format":"int32","type":"integer"}},"Resources":{"type":"array","items":{"$ref":"#/definitions/ProductResource"}},"ProductRelations":{"type":"array","items":{"$ref":"#/definitions/ProductRelation"}},"ProductVariantPropertyDefIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ProductVariantIds":{"type":"array","items":{"format":"int32","type":"integer"}},"OriginCountryId":{"format":"int32","type":"integer"},"OriginCountryCode":{"type":"string"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Hscode":{"type":"string"},"EAN":{"type":"string"},"Type":{"format":"int32","type":"integer"},"IsLocked":{"type":"boolean"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"ShopProductProperty":{"type":"object","properties":{"ProductPropertyDefId":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Caption":{"type":"string"},"Value":{"type":"string"}}},"VATTariff":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Percentage":{"format":"double","type":"number"}}},"ProductBackInStockInfo":{"type":"object","properties":{"ProductCode":{"type":"string"},"ProductId":{"format":"int32","type":"integer"},"ExpectedDateBackInStock":{"format":"date-time","type":"string"}}},"ProductStockLocationInfo":{"type":"object","properties":{"WarehouseId":{"format":"int32","type":"integer"},"WarehouseType":{"enum":["Private","Fulfilment","Dropship","Supplier"],"type":"string"},"WarehouseLocationId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductId":{"format":"int32","type":"integer"},"QtyOnHand":{"format":"double","type":"number"},"QtyAvailable":{"format":"double","type":"number","readOnly":true},"QtyReserved":{"format":"double","type":"number"}}},"ProductPropertyDefinition":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopGroupId":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Caption":{"type":"string"},"DataType":{"enum":["Text","TextArea","HtmlEditor","Date","YesNo","MultipleSelect","DropDown","Number"],"type":"string"},"DefaultValue":{"type":"string"},"IsRequired":{"type":"boolean"},"IsHidden":{"type":"boolean"},"IsSystemProperty":{"type":"boolean","readOnly":true},"Translations":{"type":"array","items":{"$ref":"#/definitions/ProductPropertyDefinitionTranslation"}},"LookupValues":{"type":"array","items":{"$ref":"#/definitions/ProductPropertyDefLookupValue"}}}},"ProductPropertyDefinitionTranslation":{"type":"object","properties":{"CultureId":{"format":"int32","type":"integer"},"Caption":{"type":"string"}}},"ProductPropertyDefLookupValue":{"type":"object","properties":{"Value":{"type":"string"},"Text":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"Translations":{"type":"array","items":{"$ref":"#/definitions/ProductPropertyDefLookupValueTranslation"}}}},"ProductPropertyDefLookupValueTranslation":{"type":"object","properties":{"CultureId":{"format":"int32","type":"integer"},"Caption":{"type":"string"}}},"ProductSelectionProduct":{"type":"object","properties":{"VATTariffId":{"format":"int32","type":"integer"},"ProductSelectionId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"PriceExVAT":{"format":"double","type":"number"},"SpecialPriceExVAT":{"format":"double","type":"number"},"ExchangeRate":{"format":"double","type":"number"},"DisableRecalculate":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"Active":{"type":"boolean"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ForeignPriceExVAT":{"format":"double","type":"number"},"ForeignPriceIncVAT":{"format":"double","type":"number"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"}}},"PropertyValue":{"type":"object","properties":{"Value":{"type":"string"}}},"ProductSupplierBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"SupplierId":{"format":"int32","type":"integer"},"SupplierCompanyName":{"type":"string"},"PurchaseProduct":{"$ref":"#/definitions/PurchaseProductBase"},"Priority":{"format":"int32","type":"integer"}}},"PurchaseProductBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"SupplierId":{"format":"int32","type":"integer"},"SupplierSKU":{"type":"string"},"PurchasePriceExVAT":{"format":"double","type":"number"}}},"ProductSupplier":{"type":"object","properties":{"PurchaseProduct":{"$ref":"#/definitions/PurchaseProduct"},"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"SupplierId":{"format":"int32","type":"integer"},"SupplierCompanyName":{"type":"string"},"Priority":{"format":"int32","type":"integer"}}},"PurchaseProduct":{"type":"object","properties":{"ShippingCostsExVAT":{"format":"double","type":"number"},"ForeignPurchasePriceExVAT":{"format":"double","type":"number"},"ExchangeRate":{"format":"double","type":"number"},"DeliverTimeDays":{"format":"int32","type":"integer"},"EndOfLife":{"type":"boolean"},"Available":{"type":"boolean"},"Name":{"type":"string"},"CanDropship":{"type":"boolean"},"PurchaseOrderUnitQty":{"format":"int32","type":"integer"},"PurchaseOrderMinQty":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"SupplierId":{"format":"int32","type":"integer"},"SupplierSKU":{"type":"string"},"PurchasePriceExVAT":{"format":"double","type":"number"}}},"PurchaseProductChanges":{"type":"object","properties":{"ShippingCostsExVAT":{"format":"double","type":"number"},"ForeignPurchasePriceExVAT":{"format":"double","type":"number"},"ExchangeRate":{"format":"double","type":"number"},"DeliverTimeDays":{"format":"int32","type":"integer"},"EndOfLife":{"type":"boolean"},"Available":{"type":"boolean"},"Name":{"type":"string"},"CanDropship":{"type":"boolean"},"PurchaseOrderUnitQty":{"format":"int32","type":"integer"},"PurchaseOrderMinQty":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"SupplierId":{"format":"int32","type":"integer"},"SupplierSKU":{"type":"string"},"PurchasePriceExVAT":{"format":"double","type":"number"}}},"ProductExistsResponse":{"type":"object","properties":{"Products":{"type":"object","additionalProperties":{"type":"boolean"}}}},"ProductResourceLink":{"type":"object","properties":{"Name":{"type":"string"},"ContentType":{"format":"int32","type":"integer"},"Url":{"type":"string"}}},"ProductResourceMetaData":{"type":"object","properties":{"Name":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"Data":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"ContentType":{"format":"int32","type":"integer"}}},"ProductPackage":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"SizeUomId":{"format":"int32","type":"integer"},"SizeUom":{"type":"string"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Height":{"format":"double","type":"number"},"WeightUomId":{"format":"int32","type":"integer"},"WeightUom":{"type":"string"},"Weight":{"format":"double","type":"number"},"Description":{"type":"string"},"RequireOwnParcelPackage":{"type":"boolean"}}},"ProductSelection":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"PriceOffsetAbsExVAT":{"format":"double","type":"number"},"PriceOffsetPerc":{"format":"double","type":"number"}}},"ProductSelectionProductChanges":{"type":"object","properties":{"VATTariffId":{"format":"int32","type":"integer"},"ProductSelectionId":{"format":"int32","type":"integer"},"PriceExVAT":{"format":"double","type":"number"},"SpecialPriceExVAT":{"format":"double","type":"number"},"ExchangeRate":{"format":"double","type":"number"},"DisableRecalculate":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"Active":{"type":"boolean"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ForeignPriceExVAT":{"format":"double","type":"number"},"ForeignPriceIncVAT":{"format":"double","type":"number"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"}}},"ProductSelectionProductBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Active":{"type":"boolean"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ForeignPriceExVAT":{"format":"double","type":"number"},"ForeignPriceIncVAT":{"format":"double","type":"number"},"QtyAvailable":{"format":"double","type":"number"},"QtyOnHand":{"format":"double","type":"number"},"QtyReserved":{"format":"double","type":"number"}}},"PurchaseOrderBasicInfo":{"type":"object","properties":{"CompanyName":{"type":"string"},"FullName":{"type":"string"},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Date":{"format":"date-time","type":"string"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"}}},"PurchaseOrderChanges":{"type":"object","properties":{"PurchaseOrderRows":{"type":"array","items":{"$ref":"#/definitions/UpdatePurchaseOrderRow"}},"HandoverTimestamp":{"format":"date-time","type":"string"},"ProvisionDate":{"format":"date-time","type":"string"},"DateReceived":{"format":"date-time","type":"string"},"MainStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"SubmitStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"ProvisionStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"PaymentStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"CustomStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"ExchangeRate":{"format":"double","type":"number"},"ShopOwnerId":{"format":"int32","type":"integer"},"OurReference":{"type":"string"},"Comment":{"type":"string"},"ShippingCostsExVat":{"format":"double","type":"number"},"SupplierId":{"format":"int32","type":"integer"},"SupplierNote":{"type":"string"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"WarehouseId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"Deliveries":{"type":"array","items":{"$ref":"#/definitions/DeliveryDto"}},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Date":{"format":"date-time","type":"string"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"}}},"UpdatePurchaseOrderRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"ItemQuantityDelivered":{"format":"double","type":"number"},"ProductCode":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"RowTotalExVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/StockItemDto"}}}},"PurchaseOrderStatus":{"type":"object","properties":{"Comment":{"type":"string"},"ActionDate":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"BasePurchaseOrderStatusId":{"format":"int32","type":"integer"},"PurchaseOrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"DeliveryDto":{"type":"object","properties":{"UniqueId":{"type":"string"},"DeliveryId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"ProvisionDate":{"format":"date-time","type":"string"},"ProvisionedBy":{"type":"string"},"Lines":{"type":"array","items":{"$ref":"#/definitions/DeliveryLineDto"}},"ProvisionStatusName":{"type":"string"}}},"StockItemDto":{"required":["ProductCode"],"type":"object","properties":{"ProductCode":{"type":"string"},"LotNumber":{"type":"string"},"SerialNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"Quantity":{"format":"int32","type":"integer"}}},"DeliveryLineDto":{"type":"object","properties":{"PurchaseOrderRowId":{"format":"int32","type":"integer"},"SupplierSku":{"type":"string"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"Location":{"type":"string"},"QtyExpected":{"format":"int32","type":"integer"},"QtyDelivered":{"format":"int32","type":"integer"}}},"PurchaseOrder":{"type":"object","properties":{"PurchaseOrderRows":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRow"}},"FileId":{"format":"int32","type":"integer"},"HandoverTimestamp":{"format":"date-time","type":"string"},"ProvisionDate":{"format":"date-time","type":"string"},"DateReceived":{"format":"date-time","type":"string"},"MainStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"SubmitStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"ProvisionStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"PaymentStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"CustomStatus":{"$ref":"#/definitions/PurchaseOrderStatus"},"ExchangeRate":{"format":"double","type":"number"},"ShopOwnerId":{"format":"int32","type":"integer"},"OurReference":{"type":"string"},"Comment":{"type":"string"},"ShippingCostsExVat":{"format":"double","type":"number"},"SupplierId":{"format":"int32","type":"integer"},"SupplierNote":{"type":"string"},"BillToContact":{"$ref":"#/definitions/ContactInfo"},"ShipToContact":{"$ref":"#/definitions/ContactInfo"},"WarehouseId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"Deliveries":{"type":"array","items":{"$ref":"#/definitions/DeliveryDto"}},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"Id":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"Date":{"format":"date-time","type":"string"},"OrderTotalExVat":{"format":"double","type":"number"},"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"}}},"PurchaseOrderRow":{"type":"object","properties":{"ProductName":{"type":"string"},"ProductDescription":{"type":"string"},"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"ItemQuantityDelivered":{"format":"double","type":"number"},"ProductCode":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"RowTotalExVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/StockItemDto"}}}},"ProvisionInfo":{"required":["PurchaseOrderRowId","QtyDelivered"],"type":"object","properties":{"PurchaseOrderRowId":{"format":"int32","type":"integer"},"WarehouseLocationId":{"format":"int32","type":"integer"},"QtyDelivered":{"format":"int32","type":"integer"}}},"AdvancedProvisionInfo":{"required":["PurchaseOrderRowId","QtyDelivered"],"type":"object","properties":{"LotNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"},"PurchaseOrderRowId":{"format":"int32","type":"integer"},"WarehouseLocationId":{"format":"int32","type":"integer"},"QtyDelivered":{"format":"int32","type":"integer"}}},"AddPurchaseOrderRow":{"type":"object","properties":{"ProductId":{"format":"int32","type":"integer"},"ItemQuantity":{"format":"double","type":"number"},"ItemQuantityDelivered":{"format":"double","type":"number"},"ProductCode":{"type":"string"},"ItemPriceExVat":{"format":"double","type":"number"},"RowTotalExVat":{"format":"double","type":"number"},"Comment":{"type":"string"},"Sequence":{"format":"int32","type":"integer"},"ExpectedDeliveryDate":{"format":"date-time","type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/StockItemDto"}}}},"PurchaseOrderStatusBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"BasePurchaseOrderStatusId":{"format":"int32","type":"integer"},"PurchaseOrderStatusTypeId":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"BasePurchaseOrderStatus":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"}}},"PurchaseOrderTrackingInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"PurchaseOrderDeliveryId":{"format":"int32","type":"integer"},"CarrierName":{"type":"string"},"TrackingCode":{"type":"string"},"TrackingUrl":{"type":"string"}}},"RentalContractBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"TypeName":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerEmail":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"BrandName":{"type":"string"},"RentalProductId":{"format":"int32","type":"integer"},"RentalProductName":{"type":"string"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"RentalContract":{"type":"object","properties":{"ShopId":{"format":"int32","type":"integer"},"ShopName":{"type":"string"},"Type":{"$ref":"#/definitions/RentalContractType"},"LocationContactInfoId":{"format":"int32","type":"integer"},"DeliveryAddressContactInfoId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"StatusId":{"format":"int32","type":"integer"},"StatusName":{"type":"string"},"ActiveStatusId":{"format":"int32","type":"integer"},"ActiveStatusName":{"type":"string"},"CustomerReference":{"type":"string"},"InternalReference":{"type":"string"},"AutoGenerateOrder":{"type":"boolean"},"NextOrderDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"Files":{"type":"array","items":{"$ref":"#/definitions/FileBase"}},"Rows":{"type":"array","items":{"$ref":"#/definitions/RentalContractRow"}},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"TypeName":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerEmail":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"BrandName":{"type":"string"},"RentalProductId":{"format":"int32","type":"integer"},"RentalProductName":{"type":"string"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"RentalContractType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"RentalContractRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"RowIncludeTypeId":{"format":"int32","type":"integer"},"RowIncludeTypeName":{"type":"string","readOnly":true},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"RepeatPeriodMonth":{"format":"int32","type":"integer"},"Qty":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"CustomPriceExVat":{"format":"double","type":"number"},"PriceModeEnumValue":{"format":"int32","type":"integer"}}},"GetContactInfoByEmailAddressResponseForRentalContract":{"type":"object","properties":{"RentalContractId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCultureId":{"format":"int32","type":"integer"},"ContactInfoId":{"format":"int32","type":"integer"},"ContactRoleEnumValue":{"format":"int32","type":"integer"}}},"RentalContractChanges":{"type":"object","properties":{"ShopId":{"format":"int32","type":"integer"},"LocationContactInfoId":{"format":"int32","type":"integer"},"DeliveryAddressContactInfoId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"StatusId":{"format":"int32","type":"integer"},"ActiveStatusId":{"format":"int32","type":"integer"},"CustomerReference":{"type":"string"},"InternalReference":{"type":"string"},"AutoGenerateOrder":{"type":"boolean"},"NextOrderDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"Rows":{"type":"array","items":{"$ref":"#/definitions/RentalContractRow"}},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"},"RentalProductId":{"format":"int32","type":"integer"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"RentalContractComment":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"RentalContractId":{"format":"int32","type":"integer"}}},"RentalContractCommentChanges":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"RentalContractId":{"format":"int32","type":"integer"}}},"ReportParametersRequest":{"required":["Parameters","OutputFormat"],"type":"object","properties":{"Parameters":{"type":"array","items":{"$ref":"#/definitions/ReportParameter"}},"OutputFormat":{"enum":["XLSX","PDF","CSV","JSON"],"type":"string"}}},"ReportParameter":{"required":["Name","Datatype"],"type":"object","properties":{"Name":{"type":"string"},"Value":{"type":"object"},"Datatype":{"type":"string"}}},"OrderReturnBasicInfo":{"type":"object","properties":{"ChangedTimestamp":{"format":"date-time","type":"string"},"CreatedTimestamp":{"format":"date-time","type":"string"},"CustomStatusId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"MainStatusId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"ReceivedDate":{"format":"date-time","type":"string"},"ClosedTimestamp":{"format":"date-time","type":"string"},"FollowUpTimestamp":{"format":"date-time","type":"string"},"ReturnCode":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"OrderReturnChanges":{"type":"object","properties":{"CustomerComment":{"type":"string"},"OrderReturnRows":{"type":"array","items":{"$ref":"#/definitions/OrderReturnRow"}},"Params":{"type":"array","items":{"$ref":"#/definitions/ReturnParameter"}},"CustomStatusId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"MainStatusId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"ReceivedDate":{"format":"date-time","type":"string"},"ClosedTimestamp":{"format":"date-time","type":"string"},"FollowUpTimestamp":{"format":"date-time","type":"string"},"ReturnCode":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"RegisterReturnRowsDto":{"type":"object","properties":{"ReturnRows":{"type":"array","items":{"$ref":"#/definitions/RegisterReturnRowDto"}}}},"RegisterReturnRowDto":{"required":["OrderRowId","ReturnQuantity"],"type":"object","properties":{"OrderRowId":{"format":"int32","type":"integer"},"ReturnQuantity":{"format":"int32","type":"integer"},"CustomerComment":{"type":"string"},"MainReturnRowStatusId":{"format":"int32","type":"integer"},"CustomReturnRowStatusId":{"format":"int32","type":"integer"}}},"OrderReturnRowActionRefundArgs":{"type":"object","properties":{"WarehouseLocationId":{"format":"int32","type":"integer"},"AsDifferentProductId":{"format":"int32","type":"integer"},"RefundItemAmount":{"format":"double","type":"number"},"ReasonId":{"format":"int32","type":"integer"},"ConditionId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/AdvancedStockItem"}}}},"AdvancedStockItem":{"type":"object","properties":{"Quantity":{"format":"int32","type":"integer"},"ExpiryDate":{"format":"date-time","type":"string"},"LotNumber":{"type":"string"},"SerialNumber":{"type":"string"}}},"OrderReturnRowActionExchangeArgs":{"type":"object","properties":{"WarehouseLocationId":{"format":"int32","type":"integer"},"AsDifferentProductId":{"format":"int32","type":"integer"},"ReasonId":{"format":"int32","type":"integer"},"ConditionId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/AdvancedStockItem"}}}},"OrderReturnRowActionRepairArgs":{"type":"object","properties":{"ReasonId":{"format":"int32","type":"integer"},"ConditionId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/AdvancedStockItem"}}}},"OrderReturnRowActionResendArgs":{"type":"object","properties":{"ReasonId":{"format":"int32","type":"integer"},"ConditionId":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"StockItems":{"type":"array","items":{"$ref":"#/definitions/AdvancedStockItem"}}}},"ServiceContractBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"TypeName":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerEmail":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"BrandName":{"type":"string"},"ServiceProductId":{"format":"int32","type":"integer"},"ServiceProductName":{"type":"string"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"ServiceContract":{"type":"object","properties":{"LocationContactInfoId":{"format":"int32","type":"integer"},"DeliveryAddressContactInfoId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"WallCabinetPinCode":{"type":"string"},"StatusId":{"format":"int32","type":"integer"},"StatusName":{"type":"string"},"CustomerReference":{"type":"string"},"ShopId":{"format":"int32","type":"integer"},"ShopName":{"type":"string"},"Comment":{"type":"string"},"ServiceComment":{"type":"string"},"EndOfWarrantyDate":{"format":"date-time","type":"string"},"ActiveStatusId":{"format":"int32","type":"integer"},"ActiveStatusName":{"type":"string"},"EndDate":{"format":"date-time","type":"string"},"NewContractStartDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"},"StockItemId":{"format":"int32","type":"integer"},"AutoGenerateOrder":{"type":"boolean"},"NextOrderDate":{"format":"date-time","type":"string"},"NextMaintenanceDate":{"format":"date-time","type":"string"},"DeletedTimestamp":{"format":"date-time","type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"ChangeTimestamp":{"format":"date-time","type":"string"},"OrderDiscountPercentage":{"format":"int32","type":"integer"},"InternalReference":{"type":"string"},"Type":{"$ref":"#/definitions/ServiceContractType"},"Files":{"type":"array","items":{"$ref":"#/definitions/FileBase"}},"Appointments":{"type":"array","items":{"$ref":"#/definitions/ServiceAppointmentBase"}},"CurrentExpiryDateBattery":{"format":"date-time","type":"string"},"CurrentExpiryDateElectrode":{"format":"date-time","type":"string"},"CurrentExpiryDatePaediatricElectrode":{"format":"date-time","type":"string"},"ProductionYear":{"format":"int32","type":"integer"},"AutoGenerateServiceAppointment":{"type":"boolean"},"Rows":{"type":"array","items":{"$ref":"#/definitions/ServiceContractRow"}},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"TypeName":{"type":"string"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"CustomerEmail":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"BrandName":{"type":"string"},"ServiceProductId":{"format":"int32","type":"integer"},"ServiceProductName":{"type":"string"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"ServiceContractType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"DiscountPercentageOnService":{"format":"int32","type":"integer"},"UseLoanProduct":{"type":"boolean"}}},"ServiceAppointmentBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"StatusId":{"format":"int32","type":"integer"},"StatusName":{"type":"string","readOnly":true},"ServiceDate":{"format":"date-time","type":"string"}}},"ServiceContractRow":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductSelectionProductId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"RepeatPeriodMonth":{"format":"int32","type":"integer"},"Qty":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"AutoGenerateOrder":{"type":"boolean"},"CustomPriceExVat":{"format":"double","type":"number"},"PriceModeEnumValue":{"format":"int32","type":"integer"},"NeedsActionAfterOrderGenerate":{"type":"boolean"}}},"ServiceContractChanges":{"type":"object","properties":{"LocationContactInfoId":{"format":"int32","type":"integer"},"DeliveryAddressContactInfoId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"WallCabinetPinCode":{"type":"string"},"StatusId":{"format":"int32","type":"integer"},"CustomerReference":{"type":"string"},"ShopId":{"format":"int32","type":"integer"},"ServiceComment":{"type":"string"},"EndOfWarrantyDate":{"format":"date-time","type":"string"},"ActiveStatusId":{"format":"int32","type":"integer"},"EndDate":{"format":"date-time","type":"string"},"NewContractStartDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"},"StockItemId":{"format":"int32","type":"integer"},"AutoGenerateOrder":{"type":"boolean"},"NextOrderDate":{"format":"date-time","type":"string"},"NextMaintenanceDate":{"format":"date-time","type":"string"},"OrderDiscountPercentage":{"format":"int32","type":"integer"},"InternalReference":{"type":"string"},"CurrentExpiryDateBattery":{"format":"date-time","type":"string"},"CurrentExpiryDateElectrode":{"format":"date-time","type":"string"},"CurrentExpiryDatePaediatricElectrode":{"format":"date-time","type":"string"},"ProductionYear":{"format":"int32","type":"integer"},"AutoGenerateServiceAppointment":{"type":"boolean"},"Rows":{"type":"array","items":{"$ref":"#/definitions/ServiceContractRow"}},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"TypeId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"},"ServiceProductId":{"format":"int32","type":"integer"},"Location":{"$ref":"#/definitions/ContactInfo"},"DeliveryAddress":{"$ref":"#/definitions/ContactInfo"}}},"ServiceAppointmentChanges":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"LoanProductParcelTypeId":{"format":"int32","type":"integer"},"SendLoanProductToCustomerDate":{"format":"date-time","type":"string"},"ServiceProductSwap1Date":{"format":"date-time","type":"string"},"ServiceDate":{"format":"date-time","type":"string"},"SendServicedProductToCustomerDate":{"format":"date-time","type":"string"},"ServiceProductSwap2Date":{"format":"date-time","type":"string"},"LoanProductId":{"format":"int32","type":"integer"},"LoanProductReserveFromDate":{"format":"date-time","type":"string"},"LoanProductReserveTillDate":{"format":"date-time","type":"string"},"LoanProductDeliveredAtCustomerDate":{"format":"date-time","type":"string"},"CollectServiceProductAtCustomerDate":{"format":"date-time","type":"string"},"CustomerWillSendServiceProductDate":{"format":"date-time","type":"string"},"ExpectLoanProductDeliveredAtCustomerDate":{"format":"date-time","type":"string"},"Comment":{"type":"string"},"CustomerComment":{"type":"string"}}},"LoanProductAvailabilityPerDayResponse":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"AvailableLoanProductIds":{"type":"array","items":{"format":"int32","type":"integer"}}}},"ScheduledServicesPerDayResponse":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"ScheduledCount":{"format":"int32","type":"integer"}}},"ServiceAppointment":{"type":"object","properties":{"CreateTimestamp":{"format":"date-time","type":"string"},"Comment":{"type":"string"},"CustomerComment":{"type":"string"},"ServiceContractId":{"format":"int32","type":"integer"},"LoanProductReservation":{"$ref":"#/definitions/LoanProductReservation"},"InspectionReportFileId":{"format":"int32","type":"integer"},"ServiceOrderId":{"format":"int32","type":"integer"},"InvitationStatusId":{"format":"int32","type":"integer"},"InvitationStatusName":{"type":"string","readOnly":true},"InvitationConfirmationMailId":{"format":"int32","type":"integer"},"InvitationReturnLoanProductStatusId":{"format":"int32","type":"integer"},"InvitationReturnLoanProductStatusName":{"type":"string","readOnly":true},"LoanProductParcelTypeId":{"format":"int32","type":"integer"},"ServiceProductSwap1Date":{"format":"date-time","type":"string"},"ServiceProductSwap2Date":{"format":"date-time","type":"string"},"LoanProductDeliveredAtCustomerDate":{"format":"date-time","type":"string"},"CollectServiceProductAtCustomerDate":{"format":"date-time","type":"string"},"CustomerWillSendServiceProductDate":{"format":"date-time","type":"string"},"ExpectLoanProductDeliveredAtCustomerDate":{"format":"date-time","type":"string"},"SendLoanProductParcelId":{"format":"int32","type":"integer"},"ReceiveServiceProductParcelId":{"format":"int32","type":"integer"},"SendServiceProductParcelId":{"format":"int32","type":"integer"},"ReceiveLoanProductParcelId":{"format":"int32","type":"integer"},"SendLoanProductToCustomerDate":{"format":"date-time","type":"string"},"InvitationMailId":{"format":"int32","type":"integer"},"InvitationReminderMailId":{"format":"int32","type":"integer"},"InvitationTicketId":{"format":"int32","type":"integer"},"ReturnInvitationMailId":{"format":"int32","type":"integer"},"ReturnInvitationReminderMailId":{"format":"int32","type":"integer"},"ReturnInvitationTicketId":{"format":"int32","type":"integer"},"CarrierAccountId":{"format":"int32","type":"integer"},"SendServicedProductToCustomerDate":{"format":"date-time","type":"string"},"SendLoanProductTTMailId":{"format":"int32","type":"integer"},"SendServicedProductTTMailId":{"format":"int32","type":"integer"},"InspectionReportMailId":{"format":"int32","type":"integer"},"ReturnInvitationConfirmationMailId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"StatusId":{"format":"int32","type":"integer"},"StatusName":{"type":"string","readOnly":true},"ServiceDate":{"format":"date-time","type":"string"}}},"LoanProductReservation":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"LoanProductId":{"format":"int32","type":"integer"},"FromDate":{"format":"date-time","type":"string"},"TillDate":{"format":"date-time","type":"string"}}},"KeyValuePair[String,Nullable[MailTargetFlagEnum]]":{"type":"object","properties":{"Key":{"type":"string","readOnly":true},"Value":{"enum":["None","Customer","Location","DeliveryAddress"],"type":"string","readOnly":true}}},"GetContactInfoByEmailAddressResponseForServiceContract":{"type":"object","properties":{"ServiceContractId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCultureId":{"format":"int32","type":"integer"},"ContactInfoId":{"format":"int32","type":"integer"},"ContactRoleEnumValue":{"format":"int32","type":"integer"}}},"ServiceContractComment":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"ServiceContractId":{"format":"int32","type":"integer"}}},"ServiceContractCommentChanges":{"required":["Comment"],"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Comment":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"EmployeeName":{"type":"string"},"TimeStamp":{"format":"date-time","type":"string"},"ServiceContractId":{"format":"int32","type":"integer"}}},"ServiceProductInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopGroupId":{"format":"int32","type":"integer"},"ShopGroupName":{"type":"string"},"ShopGroupIconUrl":{"type":"string"},"ProductBrandId":{"format":"int32","type":"integer"},"ProductBrandName":{"type":"string"},"WarrantyMonths":{"format":"int32","type":"integer"}}},"ProductsByServiceProduct":{"type":"object","properties":{"ServiceProductId":{"format":"int32","type":"integer"},"Products":{"type":"array","items":{"$ref":"#/definitions/Product"}}}},"AddOrderRowsToShipmentInfo":{"type":"object","properties":{"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}},"GeneratePickList":{"type":"boolean"},"GeneratePackingSlip":{"type":"boolean"}}},"RemoveOrderRowsFromShipmentInfo":{"required":["OrderRows"],"type":"object","properties":{"OrderRows":{"type":"array","items":{"format":"int32","type":"integer"}},"GeneratePickList":{"type":"boolean"},"GeneratePackingSlip":{"type":"boolean"}}},"PickedStockItemDto":{"required":["ProductCode"],"type":"object","properties":{"ProductCode":{"type":"string"},"LotNumber":{"type":"string"},"SerialNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"Quantity":{"format":"int32","type":"integer"}}},"PickListInfo":{"type":"object","properties":{"OrderShipmentId":{"format":"int32","type":"integer"},"IsPicked":{"type":"boolean"},"PdfPickListFileId":{"format":"int32","type":"integer"},"Rows":{"type":"array","items":{"$ref":"#/definitions/PickRowInfo"}}}},"PickRowInfo":{"type":"object","properties":{"QtyNeeded":{"format":"double","type":"number"},"QtyPicked":{"format":"double","type":"number"},"WarehouseLocationId":{"format":"int32","type":"integer"},"Location":{"type":"string"},"LocationAisle":{"type":"string"},"LocationBay":{"type":"string"},"LocationShelf":{"type":"string"},"LocationBin":{"type":"string"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"OrderCode":{"type":"string"},"OrderShipmentId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderRowId":{"format":"int32","type":"integer"},"RequiresLotNumber":{"type":"boolean"},"RequiresExpiryDate":{"type":"boolean"},"RequiresSerialNumber":{"type":"boolean"},"LotNumber":{"type":"string"},"ExpiryDate":{"format":"date-time","type":"string"},"SerialNumber":{"type":"string"}}},"PickList":{"type":"object","properties":{}},"AddShipmentParcelInfo":{"type":"object","properties":{"CarrierAccountId":{"format":"int32","type":"integer"},"GoodsDescription":{"type":"string"},"TrackingCode":{"type":"string"},"DeclaredValue":{"format":"double","type":"number"},"TotalCharges":{"format":"double","type":"number"},"Comment":{"type":"string"},"ParcelPackages":{"type":"array","items":{"$ref":"#/definitions/AddShipmentParcelPackage"}}}},"AddShipmentParcelPackage":{"required":["PackageType"],"type":"object","properties":{"PackageType":{"enum":["Box","FullPallet","HalfPallet","QuarterPallet","LightPallet","MiniQuarterPallet","BlockPallet","BlockPalletStackable","EuroPallet"],"type":"string"},"TrackingCode":{"type":"string"},"DeliveryStatus":{"enum":["NotPlanned","Planned","Shipping","Delivered","Cancelled","Exception","Deleted"],"type":"string"},"Weight":{"format":"double","type":"number"},"Length":{"format":"double","type":"number"},"Width":{"format":"double","type":"number"},"Height":{"format":"double","type":"number"},"DeliveredDate":{"format":"date-time","type":"string"}}},"ShipmentPickInfo":{"type":"object","properties":{"IncrementalQuantities":{"type":"boolean"},"PickRows":{"type":"array","items":{"$ref":"#/definitions/ShipmentPickOrderRowInfo"}}}},"ShipmentPickOrderRowInfo":{"type":"object","properties":{"OrderRowId":{"format":"int32","type":"integer"},"WarehouseLocationId":{"format":"int32","type":"integer"},"QuantityPicked":{"format":"int32","type":"integer"}}},"PackListInfo":{"type":"object","properties":{"OrderShipmentId":{"format":"int32","type":"integer"},"IsPacked":{"type":"boolean"},"PdfPackListFileId":{"format":"int32","type":"integer"},"Rows":{"type":"array","items":{"$ref":"#/definitions/PackListRow"}}}},"PackListRow":{"type":"object","properties":{"ItemQuantity":{"format":"double","type":"number"},"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"OrderCode":{"type":"string"},"OrderShipmentId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderRowId":{"format":"int32","type":"integer"}}},"ShipmentExistsResponse":{"type":"object","properties":{"Shipments":{"type":"object","additionalProperties":{"type":"boolean"},"readOnly":true}}},"ShopOwnerBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"DefaultCurrencyId":{"format":"int32","type":"integer"},"DefaultCultureId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"ShopOwnerChanges":{"type":"object","properties":{"IconFileId":{"format":"int32","type":"integer"},"BillToContactInfo":{"$ref":"#/definitions/ContactInfo"},"MainContactInfo":{"$ref":"#/definitions/ContactInfo"},"PurchaseOrderShopId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"DefaultCurrencyId":{"format":"int32","type":"integer"},"DefaultCultureId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"ShopOwner":{"type":"object","properties":{"IconFileId":{"format":"int32","type":"integer"},"BillToContactInfo":{"$ref":"#/definitions/ContactInfo"},"MainContactInfo":{"$ref":"#/definitions/ContactInfo"},"PurchaseOrderShopId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"CompanyName":{"type":"string"},"DefaultCurrencyId":{"format":"int32","type":"integer"},"DefaultCultureId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"ShopGroupBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"ShopGroup":{"type":"object","properties":{"IconFileId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"ShopGroupChanges":{"type":"object","properties":{"IconFileId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"Affiliate":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"ShopChanges":{"type":"object","properties":{"CompanyName":{"type":"string"},"Url":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"CultureId":{"format":"int32","type":"integer"},"CurrencyId":{"format":"int32","type":"integer"},"SitePhone":{"type":"string"},"SiteEmail":{"type":"string"},"SiteAddress":{"type":"string"},"SitePostalCode":{"type":"string"},"SiteCity":{"type":"string"},"SiteCountryName":{"type":"string"},"SiteBankAccountIban":{"type":"string"},"SiteVatNumber":{"type":"string"},"SiteCoC":{"type":"string"},"SiteDirector":{"type":"string"},"MailAddress":{"type":"string"},"LastMailCheck":{"format":"date-time","type":"string"},"SyncServiceLastSync":{"format":"date-time","type":"string"},"DefaultPaymentTermsId":{"format":"int32","type":"integer"},"Notes":{"type":"string"},"PhoneCidName":{"type":"string"},"PhoneOutboundPrefix":{"type":"string"},"LiveStartDate":{"format":"date-time","type":"string"},"LiveEndDate":{"format":"date-time","type":"string"},"DefaultUseIncVat":{"type":"boolean"},"InvoiceNumberingAtShopLevel":{"type":"boolean"},"OrderNumberingAtShopLevel":{"type":"boolean"},"OfferNumberingAtShopLevel":{"type":"boolean"},"DefaultVatTariffId":{"format":"int32","type":"integer"},"DefaultPaymentTypeId":{"format":"int32","type":"integer"},"IconFileId":{"format":"int32","type":"integer"},"LogoFileId":{"format":"int32","type":"integer"},"ActiveProductSelectionId":{"format":"int32","type":"integer"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/ShopParameterBasic"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopGroupId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"ShopParameterBasic":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"type":"string"}}},"Shop":{"type":"object","properties":{"CompanyName":{"type":"string"},"Url":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"CultureId":{"format":"int32","type":"integer"},"CurrencyId":{"format":"int32","type":"integer"},"SitePhone":{"type":"string"},"SiteEmail":{"type":"string"},"SiteAddress":{"type":"string"},"SitePostalCode":{"type":"string"},"SiteCity":{"type":"string"},"SiteCountryName":{"type":"string"},"SiteBankAccountIban":{"type":"string"},"SiteVatNumber":{"type":"string"},"SiteCoC":{"type":"string"},"SiteDirector":{"type":"string"},"MailAddress":{"type":"string"},"LastMailCheck":{"format":"date-time","type":"string"},"SyncServiceLastSync":{"format":"date-time","type":"string"},"DefaultPaymentTermsId":{"format":"int32","type":"integer"},"Notes":{"type":"string"},"PhoneCidName":{"type":"string"},"PhoneOutboundPrefix":{"type":"string"},"LiveStartDate":{"format":"date-time","type":"string"},"LiveEndDate":{"format":"date-time","type":"string"},"DefaultUseIncVat":{"type":"boolean"},"InvoiceNumberingAtShopLevel":{"type":"boolean"},"OrderNumberingAtShopLevel":{"type":"boolean"},"OfferNumberingAtShopLevel":{"type":"boolean"},"DefaultVatTariffId":{"format":"int32","type":"integer"},"DefaultPaymentTypeId":{"format":"int32","type":"integer"},"IconFileId":{"format":"int32","type":"integer"},"LogoFileId":{"format":"int32","type":"integer"},"ActiveProductSelectionId":{"format":"int32","type":"integer"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/ShopParameterBasic"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopGroupId":{"format":"int32","type":"integer"},"Active":{"type":"boolean"}}},"ShopStatusInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Active":{"type":"boolean"},"LastMailCheck":{"format":"date-time","type":"string"},"LastOrderSync":{"format":"date-time","type":"string"}}},"ShopProductPriceUpdateInput":{"type":"object","properties":{"ProductCode":{"type":"string"},"Price":{"format":"double","type":"number"}}},"UpdatePriceResponse":{"type":"object","properties":{"ProductCode":{"type":"string"},"Success":{"type":"boolean"},"ErrorMessage":{"type":"string"}}},"ShopParameter":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"type":"string"}}},"ParameterValue":{"type":"object","properties":{"Value":{"type":"string"},"DataType":{"type":"string"}}},"AutoSetOrderStatusesSettings":{"type":"object","properties":{"MainStatus":{"type":"boolean"},"PaymentStatus":{"type":"boolean"},"StockStatus":{"type":"boolean"},"FulfilmentStatus":{"type":"boolean"},"ShipmentStatus":{"type":"boolean"}}},"StockCountGroup":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"AddStockCountGroup":{"required":["Name"],"type":"object","properties":{"Name":{"type":"string"},"CreateStockCounts":{"type":"boolean"}}},"UpdateStockCountGroup":{"required":["Name"],"type":"object","properties":{"Name":{"type":"string"}}},"StockCountSearchArguments":{"type":"object","properties":{"PageSize":{"format":"int32","maximum":999,"minimum":5,"type":"integer"},"PageNumber":{"format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"StockCountGroupId":{"format":"int32","type":"integer"},"IsPlanned":{"type":"boolean"},"IsStarted":{"type":"boolean"},"IsClosed":{"type":"boolean"},"IsFinalized":{"type":"boolean"},"IsHandover":{"type":"boolean"}}},"StockCount":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"StockCountGroup":{"$ref":"#/definitions/StockCountGroup"},"WarehouseLocation":{"$ref":"#/definitions/WarehouseLocationBasicInfo"},"Note":{"type":"string"},"CreatedTimestamp":{"format":"date-time","type":"string"},"CreatedBy":{"$ref":"#/definitions/EmployeeMinimalInfo"},"HandoverTimestamp":{"format":"date-time","type":"string"},"PlannedTimestamp":{"format":"date-time","type":"string"},"StartTimestamp":{"format":"date-time","type":"string"},"CloseTimestamp":{"format":"date-time","type":"string"},"FinalyzeTimestamp":{"format":"date-time","type":"string"},"FinalizedBy":{"$ref":"#/definitions/EmployeeMinimalInfo"},"Items":{"type":"array","items":{"$ref":"#/definitions/StockCountItem"}}}},"WarehouseLocationBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"EmployeeMinimalInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Fullname":{"type":"string"}}},"StockCountItem":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Status":{"enum":["NotCounted","CountedAndAvailable","CountedAndNotAvailable","CountedAndPartiallyAvailable","CountedAndHigherThanExpected"],"type":"string"},"ExpectedQuantity":{"format":"int32","type":"integer"},"ActualQuantity":{"format":"int32","type":"integer"},"Product":{"$ref":"#/definitions/StockCountItemProduct"},"ResolutionText":{"type":"string"},"ResolutionData":{"type":"string"}}},"StockCountItemProduct":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"}}},"CreateStockCountArguments":{"type":"object","properties":{"StockCountGroupId":{"format":"int32","type":"integer"},"WarehouseLocationIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ProductIds":{"type":"array","items":{"format":"int32","type":"integer"}},"Notes":{"type":"string"}}},"UpdateStockCountArguments":{"required":["Items"],"type":"object","properties":{"Items":{"type":"array","items":{"$ref":"#/definitions/StockCountUpdateItem"}}}},"StockCountUpdateItem":{"required":["Sku","Quantity"],"type":"object","properties":{"Sku":{"type":"string"},"Quantity":{"format":"int32","type":"integer"}}},"StockCountActionUrl":{"type":"object","properties":{"Name":{"type":"string","readOnly":true},"ActionUrl":{"type":"string","readOnly":true}}},"SupplierChanges":{"type":"object","properties":{"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"MainAddress":{"$ref":"#/definitions/ContactInfo"},"Warehouses":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}},"ShopOwnerId":{"format":"int32","type":"integer"},"PersonTitle":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastNamePrefix":{"type":"string"},"LastName":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"PersonalNumber":{"type":"string"},"IsActive":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"Supplier":{"type":"object","properties":{"CurrencyId":{"format":"int32","type":"integer"},"CurrencyCode":{"type":"string"},"MainAddress":{"$ref":"#/definitions/ContactInfo"},"Warehouses":{"type":"array","items":{"$ref":"#/definitions/WarehouseBasicInfo"}},"ShopOwnerId":{"format":"int32","type":"integer"},"PersonTitle":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastNamePrefix":{"type":"string"},"LastName":{"type":"string"},"CultureId":{"format":"int32","type":"integer"},"PersonalNumber":{"type":"string"},"IsActive":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"FullName":{"type":"string"},"CompanyName":{"type":"string"},"EMail":{"type":"string"},"ContactReference":{"type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"}}},"PurchaseProductBasicInfo":{"type":"object","properties":{"SupplierCompanyName":{"type":"string"},"Id":{"format":"int32","type":"integer"},"SupplierId":{"format":"int32","type":"integer"},"SupplierSKU":{"type":"string"},"PurchasePriceExVAT":{"format":"double","type":"number"}}},"AppModuleDefinition":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Features":{"type":"array","items":{"type":"string"},"readOnly":true}}},"SyncSystemRequestPostParameters":{"type":"object","properties":{"ConsumerLevelId":{"format":"int32","type":"integer"},"ConsumerLevelEntityId":{"format":"int32","type":"integer"},"AppModuleDefinitionId":{"format":"int32","type":"integer"},"FeatureId":{"format":"int32","type":"integer"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/RequestParam"}}}},"RequestParam":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"}}},"SyncSystemRequestBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"CreateTimestamp":{"format":"date-time","type":"string"},"StartTimestamp":{"format":"date-time","type":"string"},"FinishedTimestamp":{"format":"date-time","type":"string"},"StatusName":{"type":"string"},"AppModuleName":{"type":"string"}}},"TicketBase":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"TicketCode":{"format":"int32","type":"integer"},"Title":{"type":"string"},"OpenDate":{"format":"date-time","type":"string"},"CloseDate":{"format":"date-time","type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"MainStatusName":{"type":"string"},"PreviousMainStatusId":{"format":"int32","type":"integer"},"PreviousMainStatusName":{"type":"string"},"ServiceContractId":{"format":"int32","type":"integer"},"RentalContractId":{"format":"int32","type":"integer"}}},"Ticket":{"type":"object","properties":{"ShopId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"Categories":{"type":"array","items":{"$ref":"#/definitions/MessageCategory"}},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"OpenEmployeeId":{"format":"int32","type":"integer"},"OpenEmployeeFullName":{"type":"string"},"CloseEmployeeId":{"format":"int32","type":"integer"},"CloseEmployeeFullName":{"type":"string"},"Prio":{"format":"int32","type":"integer"},"HandlingEmployeeId":{"format":"int32","type":"integer"},"HandlingEmployeeFullName":{"type":"string"},"TicketTypeId":{"format":"int32","type":"integer"},"MailCount":{"format":"int32","type":"integer"},"VoipCallCount":{"format":"int32","type":"integer"},"ChatCount":{"format":"int32","type":"integer"},"RemoveFromFollowUpDate":{"format":"date-time","type":"string"},"HandlingEmployeeGroupId":{"format":"int32","type":"integer"},"ParentTicketId":{"format":"int32","type":"integer"},"OrderReturnId":{"format":"int32","type":"integer"},"OrderReturnCode":{"type":"string"},"CreateTimestamp":{"format":"date-time","type":"string"},"SlaEndTimestamp":{"format":"date-time","type":"string"},"TotalOpenMinutes":{"format":"int32","type":"integer"},"CloseToOpenCount":{"format":"int32","type":"integer"},"Rating":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"OfferId":{"format":"int32","type":"integer"},"OfferCode":{"type":"string"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"HandlingEmployeeGroupChangedTimestamp":{"format":"date-time","type":"string"},"FirstResponseTimestamp":{"format":"date-time","type":"string"},"TaskCount":{"format":"int32","type":"integer"},"TicketIdleMailId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"TicketCode":{"format":"int32","type":"integer"},"Title":{"type":"string"},"OpenDate":{"format":"date-time","type":"string"},"CloseDate":{"format":"date-time","type":"string"},"ChangedTimestamp":{"format":"date-time","type":"string"},"MainStatusId":{"format":"int32","type":"integer"},"MainStatusName":{"type":"string"},"PreviousMainStatusId":{"format":"int32","type":"integer"},"PreviousMainStatusName":{"type":"string"},"ServiceContractId":{"format":"int32","type":"integer"},"RentalContractId":{"format":"int32","type":"integer"}}},"TicketStatus":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"IconFileId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"TicketStatusBase":{"enum":["Todo","Closed","FollowUp","WaitingForCustomer","WaitingForSupplier","WaitingForInternalTeam"],"type":"string"},"IsDefaultForStatusId":{"format":"int32","type":"integer"}}},"TicketType":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"},"IconFileId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"}}},"TicketChanges":{"type":"object","properties":{"MainStatusId":{"format":"int32","type":"integer"},"ParentTicketId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"CustomerCode":{"type":"string"},"Categories":{"type":"array","items":{"$ref":"#/definitions/MessageCategory"}},"Params":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"Prio":{"format":"int32","type":"integer"},"HandlingEmployeeId":{"format":"int32","type":"integer"},"TicketTypeId":{"format":"int32","type":"integer"},"HandlingEmployeeGroupId":{"format":"int32","type":"integer"},"OrderReturnId":{"format":"int32","type":"integer"},"OrderReturnCode":{"type":"string"},"Rating":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"OrderCode":{"type":"string"},"OfferId":{"format":"int32","type":"integer"},"OfferCode":{"type":"string"},"ProductId":{"format":"int32","type":"integer"},"ProductCode":{"type":"string"},"TicketIdleMailId":{"format":"int32","type":"integer"},"Title":{"type":"string"},"PreviousMainStatusId":{"format":"int32","type":"integer"},"PreviousMainStatusName":{"type":"string"},"ServiceContractId":{"format":"int32","type":"integer"},"RentalContractId":{"format":"int32","type":"integer"}}},"TicketMessageList":{"type":"object","properties":{"Messages":{"type":"array","items":{"$ref":"#/definitions/TicketMessage"}}}},"TicketMessage":{"type":"object","properties":{"Type":{"enum":["Mail","Voip","Chat"],"type":"string","readOnly":true},"Id":{"format":"int32","type":"integer"},"Timestamp":{"format":"date-time","type":"string"},"Direction":{"enum":["Incoming","Outgoing"],"type":"string"},"Content":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"From":{"type":"string"},"To":{"type":"string"}}},"TransportCategoryBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"TransportCategory":{"type":"object","properties":{"MaxLength":{"format":"double","type":"number"},"MinLength":{"format":"double","type":"number"},"MaxWeight":{"format":"double","type":"number"},"MinWeight":{"format":"double","type":"number"},"MaxVolume":{"format":"double","type":"number"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"TransportCategoryPriceInfo":{"type":"object","properties":{"CarrierPrices":{"type":"array","items":{"$ref":"#/definitions/CarrierPriceInfo"}},"MaxLength":{"format":"double","type":"number"},"MinLength":{"format":"double","type":"number"},"MaxWeight":{"format":"double","type":"number"},"MinWeight":{"format":"double","type":"number"},"MaxVolume":{"format":"double","type":"number"},"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"ShopOwnerId":{"format":"int32","type":"integer"}}},"CarrierPriceInfo":{"type":"object","properties":{"CarrierAccountId":{"format":"int32","type":"integer"},"CarrierAccountName":{"type":"string"},"FromCountryId":{"format":"int32","type":"integer"},"FromCountryCode":{"type":"string"},"ToCountryId":{"format":"int32","type":"integer"},"ToCountryCode":{"type":"string"},"PurchasePriceExVat":{"format":"double","type":"number"}}},"TriggerBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"TriggerDefinitionId":{"format":"int32","type":"integer"},"TriggerDefinitionName":{"type":"string"},"Title":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"}}},"Trigger":{"type":"object","properties":{"TriggerDefinition":{"$ref":"#/definitions/TriggerDefinition"},"Notes":{"type":"string"},"TriggerActions":{"type":"array","items":{"$ref":"#/definitions/TriggerAction"}},"Id":{"format":"int32","type":"integer"},"TriggerDefinitionId":{"format":"int32","type":"integer"},"TriggerDefinitionName":{"type":"string"},"Title":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"}}},"TriggerDefinition":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsAdminRequired":{"type":"boolean"}}},"TriggerAction":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"TriggerId":{"format":"int32","type":"integer"},"Sequence":{"format":"int32","type":"integer"},"TriggerActionDefinitionId":{"format":"int32","type":"integer"},"TriggerActionDefinitionName":{"type":"string"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/StorablePropValue"}},"SingleExecutePerEntity":{"type":"boolean"},"AbortTriggerExcecuteOnFailure":{"type":"boolean"}}},"TriggerChanges":{"type":"object","properties":{"TriggerDefinition":{"$ref":"#/definitions/TriggerDefinition"},"Notes":{"type":"string"},"TriggerActions":{"type":"array","items":{"$ref":"#/definitions/TriggerAction"}},"Id":{"format":"int32","type":"integer"},"TriggerDefinitionId":{"format":"int32","type":"integer"},"TriggerDefinitionName":{"type":"string"},"Title":{"type":"string"},"Enabled":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"}}},"TriggerActionDefinition":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Enabled":{"type":"boolean"},"KeepTriggerActionHistory":{"type":"boolean"}}},"UOM":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Type":{"enum":["Quantity","Weight","Dimensions","Volume","Time"],"type":"string"},"Factor":{"format":"double","type":"number"}}},"VoipCallBasicInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"StartTimestamp":{"format":"date-time","type":"string"},"DurationSec":{"format":"int32","type":"integer"},"CallType":{"enum":["Inbound","Outbound"],"type":"string"},"OrderCode":{"type":"string"},"DispositionId":{"format":"int32","type":"integer"},"Handled":{"type":"boolean"}}},"AddVoipCall":{"required":["UniqueId","CallType","Source","BillSec"],"type":"object","properties":{"UniqueId":{"type":"string"},"CallType":{"enum":["Inbound","Outbound","Forward"],"type":"string"},"Source":{"type":"string"},"Destination":{"type":"string"},"BillSec":{"format":"int32","type":"integer"},"TimeInQueue":{"format":"int32","type":"integer"},"TimeInIvr":{"format":"int32","type":"integer"},"AnnouncementTime":{"format":"int32","type":"integer"},"ForwardTime":{"format":"int32","type":"integer"},"Duration":{"format":"int32","type":"integer","readOnly":true},"Handled":{"type":"boolean"},"Note":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"Disposition":{"enum":["Answered","NoAnswer","Busy","Other","PbxError","OutsideOpeningHours","Forward","VoiceMail","HangupByCustomer"],"type":"string"},"CallStatus":{"enum":["Offering","InProgress","Finished","Unknown"],"type":"string"},"MailCategoryId":{"type":"array","items":{"format":"int32","type":"integer"}}}},"VoipCall":{"type":"object","properties":{"Source":{"type":"string"},"Destination":{"type":"string"},"PbxUniqueId":{"type":"string"},"Note":{"type":"string"},"Categories":{"type":"array","items":{"$ref":"#/definitions/MessageCategory"}},"EmployeeId":{"format":"int32","type":"integer"},"CustomerId":{"format":"int32","type":"integer"},"OrderId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"ShopId":{"format":"int32","type":"integer"},"StartTimestamp":{"format":"date-time","type":"string"},"DurationSec":{"format":"int32","type":"integer"},"CallType":{"enum":["Inbound","Outbound"],"type":"string"},"OrderCode":{"type":"string"},"DispositionId":{"format":"int32","type":"integer"},"Handled":{"type":"boolean"}}},"UpdateVoipCall":{"required":["BillSec"],"type":"object","properties":{"Destination":{"type":"string"},"BillSec":{"format":"int32","type":"integer"},"TimeInQueue":{"format":"int32","type":"integer"},"TimeInIvr":{"format":"int32","type":"integer"},"AnnouncementTime":{"format":"int32","type":"integer"},"ForwardTime":{"format":"int32","type":"integer"},"Duration":{"format":"int32","type":"integer","readOnly":true},"Handled":{"type":"boolean"},"Note":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"Disposition":{"enum":["Answered","NoAnswer","Busy","Other","PbxError","OutsideOpeningHours","Forward","VoiceMail","HangupByCustomer"],"type":"string"},"CallStatus":{"enum":["Offering","InProgress","Finished","Unknown"],"type":"string"},"MailCategoryId":{"type":"array","items":{"format":"int32","type":"integer"}}}},"VoipCallSetHandledDto":{"required":["Handled","EmployeeId"],"type":"object","properties":{"Handled":{"type":"boolean"},"Note":{"type":"string"},"EmployeeId":{"format":"int32","type":"integer"},"MailCategoryId":{"type":"array","items":{"format":"int32","type":"integer"}}}},"WarehouseChanges":{"type":"object","properties":{"Priority":{"format":"int32","type":"integer"},"CanPick":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"Address":{"$ref":"#/definitions/ContactInfoAddress"},"Enabled":{"type":"boolean"},"WarehouseType":{"enum":["Private","Fulfilment","Dropship","Supplier"],"type":"string"},"GenerateShippingLabel":{"type":"boolean"},"GeneratePicklist":{"type":"boolean"},"GenerateReturnShippingLabel":{"type":"boolean"},"RequirePackDocumentsPrinted":{"type":"boolean"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/WarehouseParameter"}},"Shops":{"type":"array","items":{"format":"int32","type":"integer"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"WarehouseParameter":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"WarehouseId":{"format":"int32","type":"integer"},"Key":{"type":"string"},"Value":{"type":"string"},"DataType":{"type":"string"}}},"Warehouse":{"type":"object","properties":{"Priority":{"format":"int32","type":"integer"},"CanPick":{"type":"boolean"},"ShopOwnerId":{"format":"int32","type":"integer"},"Address":{"$ref":"#/definitions/ContactInfoAddress"},"Enabled":{"type":"boolean"},"WarehouseType":{"enum":["Private","Fulfilment","Dropship","Supplier"],"type":"string"},"GenerateShippingLabel":{"type":"boolean"},"GeneratePicklist":{"type":"boolean"},"GenerateReturnShippingLabel":{"type":"boolean"},"RequirePackDocumentsPrinted":{"type":"boolean"},"Parameters":{"type":"array","items":{"$ref":"#/definitions/WarehouseParameter"}},"Shops":{"type":"array","items":{"format":"int32","type":"integer"}},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"}}},"ProductStockInfo":{"type":"object","properties":{"ProductCode":{"type":"string"},"ProductId":{"format":"int32","type":"integer"},"QtyOnHand":{"format":"double","type":"number"},"QtyAvailable":{"format":"double","type":"number","readOnly":true},"QtyReserved":{"format":"double","type":"number"}}},"WarehouseLocation":{"type":"object","properties":{"Aisle":{"type":"string"},"Bay":{"type":"string"},"Shelf":{"type":"string"},"Bin":{"type":"string"},"Priority":{"format":"int32","type":"integer"},"CanPick":{"type":"boolean"},"LocationType":{"enum":["Pick","Bulk","Quarantine","PurchaseOrder"],"type":"string"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"WarehouseLocationChanges":{"type":"object","properties":{"Aisle":{"type":"string"},"Bay":{"type":"string"},"Shelf":{"type":"string"},"Bin":{"type":"string"},"Priority":{"format":"int32","type":"integer"},"CanPick":{"type":"boolean"},"LocationType":{"enum":["Pick","Bulk","Quarantine","PurchaseOrder"],"type":"string"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"WarehouseId":{"format":"int32","type":"integer"}}},"WarehouseProductStockUpdateInput":{"type":"object","properties":{"ProductCode":{"description":"The unique Product Code (SKU)","type":"string"},"WarehouseLocationId":{"format":"int32","description":"Gets or sets the warehouse location identifier.\r\nIf no location is specified, the default location will be used.","type":"integer"},"Qty":{"format":"double","description":"Gets or sets the absolute (total) qty.","type":"number"},"Reason":{"description":"Gets or sets the reason.","type":"string"}}},"AddQtyOnHandInputReason":{"type":"object","properties":{"Reason":{"type":"string"}}},"MoveStockParameters":{"required":["ProductCode","FromLocationId","ToLocationId","Quantity"],"type":"object","properties":{"ProductCode":{"type":"string"},"FromLocationId":{"format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"ToLocationId":{"format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"Quantity":{"format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"Reason":{"type":"string"},"MoveStockStartWithAvailableStock":{"description":"Defaults to true","type":"boolean"}}},"MoveAdvancedStockParameters":{"required":["StockItemsIds","ToLocationId"],"type":"object","properties":{"StockItemsIds":{"type":"array","items":{"format":"int32","type":"integer"}},"ToLocationId":{"format":"int32","maximum":2147483647,"minimum":1,"type":"integer"},"Reason":{"type":"string"}}}},"securityDefinitions":{"basic":{"type":"basic","description":"Basic HTTP Authentication"}}}