Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.drssed.app/llms.txt

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

Call PATCH /clothing/{clothing_id} to update an existing clothing item. You only need to include the fields you want to change — any field you omit will remain unchanged. To replace the full seasons or tags list, pass the complete new array; the existing values will be overwritten.

Endpoint

FieldValue
MethodPATCH
Path/clothing/{clothing_id}
Auth requiredYes — Bearer token
Rate limit5 per minute

Path parameters

clothing_id
string
required
UUID of the clothing item to update.

Request body

All fields are optional. Only the fields you include will be updated.
name
string
New display name for the item.
category
string
New category. One of: JACKET, TOP, BOTTOM, FOOTWEAR.
color
string
New color for the item.
seasons
array
Replaces the entire seasons array. Accepted values: Spring, Summer, Autumn, Winter.
tags
array
Replaces the entire tags array. Accepted values: Casual, Formal, Sports, Vintage.
image_id
string
ID of a new image to associate with this item. Obtain this from POST /images/preview.
description
string
New free-text description for the item.

Response fields

Status: 200 OK
clothing
object
required
The updated clothing object.

Example

cURL
curl --request PATCH \
  --url https://api.drssed.com/clothing/clth_a1b2c3d4e5f6 \
  --header "Authorization: Bearer <token>" \
  --header "Content-Type: application/json" \
  --data '{
    "color": "Light Blue",
    "seasons": ["Spring", "Summer"],
    "tags": ["Casual"]
  }'
Response
{
  "clothing": {
    "clothing_id": "clth_a1b2c3d4e5f6",
    "name": "White Oxford Shirt",
    "category": "TOP",
    "color": "Light Blue",
    "is_public": true,
    "user_id": "usr_9z8y7x6w",
    "image_id": "img_f1e2d3c4",
    "created_at": "2025-03-14T10:22:00+00:00",
    "seasons": ["Spring", "Summer"],
    "tags": ["Casual"],
    "description": "Classic slim-fit Oxford button-down."
  }
}