order

Order - Get Single

Changed on

Retrieve a single order by its order number and store ID.

get/order/get_single

Request

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

Query parameters

store_idstring required

Store ID

Example:507f1f77bcf86cd799439011
order_numberstring required

Order number

Example:ORD-1234

Response

Order found with full details

metricsobject

Performance metrics

Example response

{
  "order": {
    "_id": "507f1f77bcf86cd799439011",
    "store_id": "507f1f77bcf86cd799439011",
    "stash": {
      "store_id": "507f1f77bcf86cd799439011",
      "date": "2025-01-15",
      "ship_by_date": "2025-01-17T23:59:59.000Z"
    },
    "backup_stash": {
      "store_id": "507f1f77bcf86cd799439011",
      "date": "2025-01-15",
      "ship_by_date": "2025-01-17T23:59:59.000Z"
    },
    "log": [
      {
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "scans": [
      {
        "_id": "507f1f77bcf86cd799439011",
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "notes": [
      {
        "_id": "507f1f77bcf86cd799439011",
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "shipments": [
      {
        "_id": "507f1f77bcf86cd799439011",
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "fulfillments": [
      {
        "_id": "507f1f77bcf86cd799439011"
      }
    ],
    "transactions": [
      {
        "_id": "507f1f77bcf86cd799439011"
      }
    ],
    "returns": [
      {
        "_id": "507f1f77bcf86cd799439011"
      }
    ],
    "tags": [
      "507f1f77bcf86cd799439011",
      "507f1f77bcf86cd799439012"
    ],
    "purchase_orders": [
      {
        "_id": "507f1f77bcf86cd799439011",
        "due_date": "2025-01-15",
        "log": [
          {
            "user_id": "507f1f77bcf86cd799439011",
            "time": "2025-01-15T12:00:00.000Z"
          }
        ]
      }
    ],
    "shipped_date": "2025-01-15T12:00:00.000Z",
    "opened_date": "2025-01-15T12:00:00.000Z",
    "delivery_instructions": [
      {
        "_id": "507f1f77bcf86cd799439011",
        "user_id": "507f1f77bcf86cd799439011",
        "time": "2025-01-15T12:00:00.000Z"
      }
    ],
    "customer_id": "507f1f77bcf86cd799439011"
  }
}

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the query request parameter order_number became required

    • breaking

      the query request parameter store_id became required

    • info

      api operation id get_order_get_single 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