Skip to main content

CreateWarehouseInput

No description

input CreateWarehouseInput {
name: String!
description: String!
notes: String!
isActive: Boolean!
isStore: Boolean!
isPickupLocation: Boolean!
shopId: Int
businessHours: [BusinessHoursInput!]!
createWarehouseAddress: CreateWarehouseAddressInput
}

Fields

CreateWarehouseInput.name ● String! non-null scalar

Warehouse name

CreateWarehouseInput.description ● String! non-null scalar

Warehouse description

CreateWarehouseInput.notes ● String! non-null scalar

Warehouse notes

CreateWarehouseInput.isActive ● Boolean! non-null scalar

Warehouse isActive status

CreateWarehouseInput.isStore ● Boolean! non-null scalar

Warehouse isStore status

CreateWarehouseInput.isPickupLocation ● Boolean! non-null scalar

Warehouse isPickupLocation status

CreateWarehouseInput.shopId ● Int scalar

Optional warehouse shopId! Default value will be internally inferred from the appropriate channel

CreateWarehouseInput.businessHours ● [BusinessHoursInput!]! non-null input

Warehouse business hours per week day

Example: [{ dayOfWeek: 0 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 1 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 2 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 3 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 4 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 5 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }, { dayOfWeek: 6 openingTime: "08:00" closingTime: "20:00" lunchBeakStartTime: "12:00" lunchBeakEndTime: "12:30" }]

CreateWarehouseInput.createWarehouseAddress ● CreateWarehouseAddressInput input

Add a address related to the specified warehouse

Member Of

warehouseCreate mutation