POST api/store/{storeID}/supplier/{id}/department/warehouseIndicator/{indicator}/orderCycles

Save list of order cycles for supplier/host and other details, against multiple departments

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

Store ID, to match order cycles for

integer

Required

id

Supplier Identifier or host identifier to match order cycles for

globally unique identifier

Required

indicator

Warehouse Direct Indicator (item source), optional, only for host suppliers

string

None.

Body Parameters

Department and Order cycle saving information

DepartmentOrderCycle
NameDescriptionTypeAdditional information
DepartmentCodes

List of department codes to apply to the specified order cycles

Collection of string

None.

Cycles

Order Cycle data to save

Collection of OrderCycle

None.

Request Formats

application/json, text/json

Sample:
{
  "departmentCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "cycles": [
    {
      "$id": "2",
      "storeID": 1,
      "supplierIdentifier": "HvtT0vDIXkKo8noLZfqCNQ==",
      "supplierGuid": "d253fb1e-c8f0-425e-a8f2-7a0b65fa8235",
      "departmentCode": "sample string 2",
      "warehouseDirectIndicator": "sample string 3",
      "type": 4,
      "cutOffWeek": 5,
      "cutOffDay": 6,
      "cutOffTime": "00:00:00.1234567",
      "leadTime": 7,
      "daysBuffer": 8,
      "supplierName": "sample string 9",
      "cutOffDate": "2025-06-14T07:33:59.5803904",
      "deliveryDate": "2025-06-14T07:33:59.5803904",
      "nextCutOffDate": "2025-06-14T07:33:59.5803904",
      "nextDeliveryDate": "2025-06-14T07:33:59.5803904",
      "nextDaysBuffer": 10
    },
    {
      "$ref": "2"
    }
  ]
}

application/xml, text/xml

Sample:
<DepartmentOrderCycle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
  <Cycles>
    <OrderCycle>
      <CutOffDate>2025-06-14T07:33:59.5803904+00:00</CutOffDate>
      <CutOffDay>6</CutOffDay>
      <CutOffTime>PT0.1234567S</CutOffTime>
      <CutOffWeek>5</CutOffWeek>
      <DaysBuffer>8</DaysBuffer>
      <DeliveryDate>2025-06-14T07:33:59.5803904+00:00</DeliveryDate>
      <DepartmentCode>sample string 2</DepartmentCode>
      <LeadTime>7</LeadTime>
      <NextCutOffDate>2025-06-14T07:33:59.5803904+00:00</NextCutOffDate>
      <NextDaysBuffer>10</NextDaysBuffer>
      <NextDeliveryDate>2025-06-14T07:33:59.5803904+00:00</NextDeliveryDate>
      <StoreID>1</StoreID>
      <SupplierGuid>d253fb1e-c8f0-425e-a8f2-7a0b65fa8235</SupplierGuid>
      <SupplierIdentifier>HvtT0vDIXkKo8noLZfqCNQ==</SupplierIdentifier>
      <SupplierName>sample string 9</SupplierName>
      <Type>4</Type>
      <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator>
    </OrderCycle>
    <OrderCycle>
      <CutOffDate>2025-06-14T07:33:59.5803904+00:00</CutOffDate>
      <CutOffDay>6</CutOffDay>
      <CutOffTime>PT0.1234567S</CutOffTime>
      <CutOffWeek>5</CutOffWeek>
      <DaysBuffer>8</DaysBuffer>
      <DeliveryDate>2025-06-14T07:33:59.5803904+00:00</DeliveryDate>
      <DepartmentCode>sample string 2</DepartmentCode>
      <LeadTime>7</LeadTime>
      <NextCutOffDate>2025-06-14T07:33:59.5803904+00:00</NextCutOffDate>
      <NextDaysBuffer>10</NextDaysBuffer>
      <NextDeliveryDate>2025-06-14T07:33:59.5803904+00:00</NextDeliveryDate>
      <StoreID>1</StoreID>
      <SupplierGuid>d253fb1e-c8f0-425e-a8f2-7a0b65fa8235</SupplierGuid>
      <SupplierIdentifier>HvtT0vDIXkKo8noLZfqCNQ==</SupplierIdentifier>
      <SupplierName>sample string 9</SupplierName>
      <Type>4</Type>
      <WarehouseDirectIndicator>sample string 3</WarehouseDirectIndicator>
    </OrderCycle>
  </Cycles>
  <DepartmentCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DepartmentCodes>
</DepartmentOrderCycle>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.