Skip to main content
Call GET /users/me/clothing/sync to efficiently fetch only the clothing changes that occurred since your last sync. The response includes items that were created or modified, IDs of items that were deleted, and a server_time value to use as the cursor on your next call. Passing no updated_since returns the full set of clothing items from the beginning of time.

Endpoint

Query parameters

updated_since
string
ISO 8601 datetime. Only clothing items updated or deleted after this time are returned. If omitted, all items are returned from the beginning.

Response fields

Status: 200 OK
updated
array
required
Clothing items that were created or modified since updated_since. Each object has the same shape as a clothing item returned by GET /users/me/clothing.
deleted
array
required
IDs of clothing items that were deleted since updated_since.
server_time
string
required
Current server time in ISO 8601 format. Use this value as updated_since on your next sync call.

Example

cURL
Response
Always use the server_time from the response as your next updated_since value. Never use a client-generated timestamp — clock skew between your device and the server can cause you to miss changes.