warehouse

Warehouse - Create V2

Changed on

Create a new warehouse using the latest creation endpoint with enhanced options.

post/warehouse/create_v2

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/warehouse/create_v2
  • Auth
    HTTP bearer

Request body

namestring required

Warehouse name

emailstring email

Sender email used for Transfer Order emails

typestring

Warehouse type

is_defaultboolean

Set as default warehouse

store_idstring

Store this warehouse belongs to (store-backed types only)

store_locationstring

Shopify only: store location id this warehouse syncs its inventory from. Required when type is "shopify", ignored otherwise.

Example request

{
  "name": "Main Warehouse",
  "email": "warehouse@example.com"
}

Response

Warehouse created

successboolean required

Whether the operation succeeded

_idstring required

ID of the created resource

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • breaking

      added the new required request property

    • warning

      removed the request property

    • info

      api operation id post_warehouse_create_v2 was added

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status