Skip to content

Outfits

An outfit is a look: your products styled together, often with add-ons such as shoes or a bag. Your team builds and shoots it in the app; its state shows how far it is:

state Meaning
pending Styling: the team puts the products and add-ons together.
refinement Shooting: in Studio, the team picks the model, the scene and the shots.
done Final: its assets are ready to fetch or export.

GET /outfits lists every outfit, newest first; filter by brand_id or state:

curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/outfits?state=pending" | jq '.data'

Use the outfit.finalized webhook, or pass the latest finalized_at you hold as finalized_since, oldest first. Add brand_id for one brand only:

curl -sS -H "Authorization: Bearer $TOKEN" \
"$BASE/outfits?finalized_since=2026-07-27T10:41:04.218Z&order=asc" | jq '.data'
[
{
"id": "e93b...",
"brand_id": "9a2e...",
"state": "done",
"finalized_at": "2026-07-27T10:41:04.218Z"
}
]
  • The list sorts by finalized_at, so the last item holds your next finalized_since.
  • The bound is inclusive, so the outfit you hold comes back: skip ids you have.
  • An outfit sent back to shooting leaves this list. Once final again, it returns with a new finalized_at.

GET /outfits/{id} returns the outfit with its products, model and assets:

curl -sS -H "Authorization: Bearer $TOKEN" "$BASE/outfits/$OUTFIT_ID"
{
"id": "e93b...",
"brand_id": "9a2e...",
"name": "Spring look 12",
"code": "O4KX7P2M",
"state": "done",
"finalized_at": "2026-07-27T10:41:04.218Z",
"product_ids": [
"4c2d..."
],
"add_on_product_ids": [
"7d81..."
],
"avatar": {
"id": "a1f0...",
"name": "Mia"
},
"assets": [
{
"id": "0f3a...",
"product_id": "4c2d...",
"filename": "1234567-890_front.png",
"content_type": "image/png",
"byte_size": 1854230,
"checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
"url": "https://assets.example.com/outfits/1234567-890_front.png?signature=…",
"studio_settings": {
"stream": "ecom",
"backdrop": "Grey",
"aspect_ratio": "9:16",
"selections": {
"posing": [
"Commercial"
],
"lighting": [
"Flash"
]
}
}
}
]
}
Field Holds
product_ids The articles the assets are named after; third-party ones are left out.
add_on_product_ids Products worn for styling only; no asset is named after them.
avatar The model wearing the outfit.
assets The finished files, empty until the outfit is final. Videos and numbered files come only with an export.
  • Each url works for 24 hours. Store the asset, not the link.
  • Store assets by id: two can share a filename.
  • A new checksum means the asset changed, for example after a redo; its id can stay the same.

studio_settings holds what the team picked in Studio for this asset:

Field Holds
stream ecom: studio shots on the model. content: the model on location. product: the garments without a model.
backdrop The studio background, for ecom only.
aspect_ratio The frame, unless your brand’s export format fixes it.
selections The names picked per studio topic, such as posing or lighting. Your brand’s setup decides the topics.

It is null for an asset shot before the app kept its settings.