Skip to main content

warehouseAddressCreate

Create a new address for a warehouse.

Adds a new address entry to a warehouse, supporting multiple address types such as shipping, billing, or contact addresses. Each warehouse can have multiple addresses for different operational purposes.

Possible errors:

  • WAREHOUSE_NOT_FOUND_ERROR: Warehouse with the specified ID does not exist
  • WAREHOUSE_ADDRESS_CREATE_ERROR: Failed to create the warehouse address
  • FORBIDDEN: Insufficient permissions to create warehouse addresses

AUTH: Role=[logistics.OWNER]

warehouseAddressCreate(
id: Float!
input: CreateWarehouseAddressInput!
): WarehouseAddress!

Arguments

warehouseAddressCreate.id ● Float! non-null scalar

Unique identifier of the warehouse to add the address to.

Must be a positive integer representing a valid warehouse ID in the system.

warehouseAddressCreate.input ● CreateWarehouseAddressInput! non-null input

Address creation data including location and contact details.

Contains address information, contact details, and address type needed to create a functional warehouse address.

Type

WarehouseAddress object

Address information for warehouse locations.

Contains comprehensive address and contact details for warehouse facilities including physical location, contact information, and operational settings for shipping and logistics operations.