warehouse

Warehouse - Create

Changed on

Create a new warehouse with name and address details.

post/warehouse/create

Request

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

Request body

namestring required

Warehouse name

typestring

Warehouse type. "shopify" is rejected here because this route cannot pass a store_location; use create_v2.

Example request

{
  "name": "Main Warehouse"
}

Response

Warehouse created

successboolean required

Whether the operation succeeded

_idstring required

ID of the created resource

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property type changed from string to object

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      api operation id post_warehouse_create 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 new optional request property /

    • info

      added the new optional request property /

    • 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

    • breaking

      added required request body

    • warning

      deleted the query request parameter address

    • warning

      deleted the query request parameter name

    • warning

      deleted the query request parameter states

    • warning

      deleted the query request parameter store_id

    • warning

      deleted the query request parameter type

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status