order

Create a new manual order with specified items, shipping address, and order details.

post/order/add

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/order/add
  • Auth
    HTTP bearer

Request body

store_idstring required

Store ID to add the order to

order_numberstring required

Order number for the new order

stashobject required

Order data object

tagsstring[]

Tag IDs to apply to the order (ObjectId strings referencing the tag collection)

Example request

{
  "store_id": "507f1f77bcf86cd799439011",
  "tags": [
    "507f1f77bcf86cd799439011",
    "507f1f77bcf86cd799439012"
  ]
}

Response

Order added

successboolean required

Whether the operation succeeded

store_idstring required

Store ID of the created order

order_numberstring required

Order number of the created order

Example response

{
  "store_id": "507f1f77bcf86cd799439011"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property type changed from string to object

    • info

      api operation id post_order_add was added

    • 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 order_number

    • warning

      deleted the query request parameter stash

    • warning

      deleted the query request parameter store_id

    • warning

      deleted the query request parameter tags

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status