Update Outfit Assemble
Update Outfit Assemble
Path Parameters
outfit_id uuid required
application/json
Request Body required
top_id Top Id
bottom_id Bottom Id
shoes_id Shoes Id
accessories_id Accessories Id
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
id uuid required
price Price
garment object
outfit object
attach object
hair object
facial_hair object
asset_type AssetTypes required
Possible values: [outfits
, garments
, hairs
, attaches
, facial_hairs
]
collections object[] required
xsolla_sku Xsolla Sku
{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "price": 0, "garment": { "name": "string", "source_type": "custom", "style": "phr", "type": "top", "place": "head", "obj_metadata": {}, "gender": "male", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2025-04-10T16:37:32.353Z", "url": "string", "thumbnail_url": "string", "payable_data": { "price": 0, "description": "string" } }, "outfit": { "name": "string", "source_type": "custom", "style": "phr", "obj_metadata": {}, "gender": "male", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2025-04-10T16:37:32.354Z", "url": "string", "payable_data": { "price": 0, "description": "string" }, "thumbnail_url": "string" }, "attach": { "name": "string", "source_type": "custom", "style": "phr", "obj_metadata": {}, "gender": "male", "placement": "head", "attach_type": "handwears", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "url": "string", "thumbnail_url": "string", "payable_data": { "price": 0, "description": "string" }, "created_at": "2025-04-10T16:37:32.355Z", "updated_at": "string" }, "hair": { "name": "string", "source_type": "custom", "obj_metadata": {}, "style": "phr", "gender": "male", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "url": "string", "thumbnail_url": "string", "payable_data": { "price": 0, "description": "string" }, "created_at": "2025-04-10T16:37:32.356Z", "updated_at": "string" }, "facial_hair": { "name": "string", "source_type": "custom", "style": "phr", "obj_metadata": {}, "gender": "male", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "url": "string", "thumbnail_url": "string", "payable_data": { "price": 0, "description": "string" }, "created_at": "2025-04-10T16:37:32.357Z", "updated_at": "string" }, "asset_type": "outfits", "collections": [ { "name": "string", "brand_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "thumbnail_url": "string", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "created_at": "2025-04-10T16:37:32.358Z", "updated_at": "string" } ], "xsolla_sku": "string" }
Validation Error
application/json
Schema
Example (from schema)
Schema
detail object[]
{ "detail": [ { "loc": [ "string", 0 ], "msg": "string", "type": "string" } ] }
PATCH /outfits/assemble/:outfit_id
Authorization
name: OAuth2PasswordBearertype: oauth2flows: {
"password": {
"scopes": {},
"tokenUrl": "login"
}
}
Request
Request
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'
curl -L -X PATCH 'https://api.unionavatars.com/v2/outfits/assemble/:outfit_id' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>' \ --data-raw '{ "top_id": "string", "bottom_id": "string", "shoes_id": "string", "accessories_id": "string" }'