Skip to main content
GET
/
store
/
user
/
{userId}
Store Items
curl --request GET \
  --url https://payments.shakesco.com/store/user/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "current_page": 1,
  "per_page": 20,
  "total": 3,
  "data": [
    {
      "id": 101,
      "user_id": 42,
      "name": "Wireless Headphones",
      "description": "High-quality wireless headphones",
      "price": "149.99000000",
      "quantity": 50,
      "image": "https://example.com/headphones.jpg",
      "created_at": "2026-05-01T10:00:00.000000Z",
      "updated_at": "2026-05-01T10:00:00.000000Z"
    },
    {
      "id": 102,
      "user_id": 42,
      "name": "Laptop Stand",
      "description": "Adjustable aluminium stand",
      "price": "49.99000000",
      "quantity": null,
      "image": null,
      "created_at": "2026-05-02T10:00:00.000000Z",
      "updated_at": "2026-05-02T10:00:00.000000Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index, see llms.txt. The store endpoints let you read the items you’ve listed in your Shakesco store. All requests require your API key.
Add items to your store from the dashboard at users.shakesco.com/store. See the Store guide for step-by-step instructions.

GET /store/user/:userId

Browse a business’s full item catalogue, paginated.

Path Parameter

userId
integer
required
The business’s numeric user ID (visible in your dashboard profile)

Query Parameter

page
integer
Page number for pagination. Defaults to 1.

Response

Returns a paginated list of store items.
{
  "current_page": 1,
  "per_page": 20,
  "total": 3,
  "data": [
    {
      "id": 101,
      "user_id": 42,
      "name": "Wireless Headphones",
      "description": "High-quality wireless headphones",
      "price": "149.99000000",
      "quantity": 50,
      "image": "https://example.com/headphones.jpg",
      "created_at": "2026-05-01T10:00:00.000000Z",
      "updated_at": "2026-05-01T10:00:00.000000Z"
    },
    {
      "id": 102,
      "user_id": 42,
      "name": "Laptop Stand",
      "description": "Adjustable aluminium stand",
      "price": "49.99000000",
      "quantity": null,
      "image": null,
      "created_at": "2026-05-02T10:00:00.000000Z",
      "updated_at": "2026-05-02T10:00:00.000000Z"
    }
  ]
}

GET /store/:id

Get a single store item by its ID.

Path Parameter

id
integer
required
The item’s numeric ID (returned by the catalogue endpoint above)
{
  "id": 101,
  "user_id": 42,
  "name": "Wireless Headphones",
  "description": "High-quality wireless headphones",
  "price": "149.99000000",
  "quantity": 50,
  "image": "https://example.com/headphones.jpg",
  "created_at": "2026-05-01T10:00:00.000000Z",
  "updated_at": "2026-05-01T10:00:00.000000Z"
}

Error Codes

CodeMeaning
400Bad request, invalid ID format
404Not Found, item or user does not exist
500Internal Server Error, contact support