Warehouses

Update warehouse

Changed on

Endpoint for updating an existing warehouse.

put/warehouses/{id}/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/warehouses/{id}/
  • Auth
    API key in header Authorization

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

accountstring required

The account associated with this warehouse.

building_numberstring required

Building number or identifier of the warehouse.

codestring required

Unique code identifier for the warehouse.

created_tsstring date-time required

The timestamp in UTC when the warehouse was created

idstring required

The unique identifier of the warehouse.

is_activeboolean

Indicates whether the warehouse is currently active and operational.

legacy_idstring required

[Deprecated] The legacy identifier of the warehouse.

modified_tsstring date-time required

The timestamp in UTC when the warehouse was last modified

phonestring required

Contact phone number for the warehouse.

postal_codestring required

Postal or ZIP code of the warehouse location.

statestring required

Emirate for UAE organizations. Read-only field.

Response

accountstring required

The account associated with this warehouse.

building_numberstring required

Building number or identifier of the warehouse.

codestring required

Unique code identifier for the warehouse.

created_tsstring date-time required

The timestamp in UTC when the warehouse was created

idstring required

The unique identifier of the warehouse.

is_activeboolean

Indicates whether the warehouse is currently active and operational.

legacy_idstring required

[Deprecated] The legacy identifier of the warehouse.

modified_tsstring date-time required

The timestamp in UTC when the warehouse was last modified

phonestring required

Contact phone number for the warehouse.

postal_codestring required

Postal or ZIP code of the warehouse location.

statestring required

Emirate for UAE organizations. Read-only field.

Changes

    • breaking

      added to the request property allOf list (media type: application/json)

    • breaking

      added to the request property allOf list (media type: application/x-www-form-urlencoded)

    • breaking

      added to the request property allOf list (media type: multipart/form-data)

    • breaking

      added to the request property allOf list (media type: application/json)

    • breaking

      added to the request property allOf list (media type: application/x-www-form-urlencoded)

    • breaking

      added to the request property allOf list (media type: multipart/form-data)

    • breaking

      added to the request property allOf list (media type: application/json)

    • breaking

      added to the request property allOf list (media type: application/x-www-form-urlencoded)

    • breaking

      added to the request property allOf list (media type: multipart/form-data)

    • breaking

      added to the request property allOf list (media type: application/json)

    • breaking

      added to the request property allOf list (media type: application/x-www-form-urlencoded)

    • breaking

      added to the request property allOf list (media type: multipart/form-data)

    • warning

      removed from the request property allOf list (media type: application/json)

    • warning

      removed from the request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the request property allOf list (media type: multipart/form-data)

    • warning

      removed from the request property allOf list (media type: application/json)

    • warning

      removed from the request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the request property allOf list (media type: multipart/form-data)

    • warning

      removed from the request property allOf list (media type: application/json)

    • warning

      removed from the request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the request property allOf list (media type: multipart/form-data)

    • warning

      removed from the request property allOf list (media type: application/json)

    • warning

      removed from the request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the request property allOf list (media type: multipart/form-data)

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status