---
title: "Sync shopping-list changes"
method: GET
path: "/api/v1/shopping-list/sync"
tags: ["Shopping List"]
---

# Sync shopping-list changes

`GET /api/v1/shopping-list/sync`

## Request

- Base URL: `https://spoonjoy.app`
- URL: `https://spoonjoy.app/api/v1/shopping-list/sync`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__session`
  - OAuth 2 (authorization code, authorization URL `https://spoonjoy.app/oauth/authorize`, token URL `https://spoonjoy.app/oauth/token`, scopes: `shopping_list:read`)
  - OAuth 2 (authorization code, authorization URL `https://spoonjoy.app/oauth/authorize`, token URL `https://spoonjoy.app/oauth/token`, scopes: `kitchen:read`)

## Query parameters

- `cursor` string
- `limit` integer

## Headers

- `X-Request-Id` string

## Response `200`

Success

- ShoppingListSyncEnvelope
  - `ok` unknown, required
  - `requestId` string, required
  - `data` ShoppingListSyncData, required
    - `items` ShoppingItem[], required
      - `id` string, required
      - `name` string, required
      - `quantity` number, nullable, required
      - `unit` string, nullable, required
      - `checked` boolean, required
      - `checkedAt` string, date-time, nullable, required
      - `deletedAt` string, date-time, nullable, required
      - `categoryKey` string, nullable, required
      - `iconKey` string, nullable, required
      - `sortIndex` integer, required
      - `updatedAt` string, date-time, required
    - `nextCursor` string, required: Opaque v1.* sync cursor to store only after applying the whole page.
    - `hasMore` boolean, required

## Other responses

- `400`: Errors: invalid_cursor, validation_error
- `401`: Errors: authentication_required, invalid_token
- `403`: Errors: insufficient_scope
- `405`: Errors: method_not_allowed
- `429`: Errors: rate_limited
- `500`: Errors: internal_error
- `503`: Errors: temporarily_unavailable

---

[API](https://skmtc.dev/spoonjoy/apis/spoonjoy-api.md) · [All operations](https://skmtc.dev/spoonjoy/apis/spoonjoy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spoonjoy/apis/spoonjoy-api/revisions/b96eb5d4697d?raw)
