{"openapi":"3.1.1","info":{"title":"ControlResell public API","version":"1","description":"The public API of ControlResell. Every error answers `{\"error\": {\"code\", \"message\", \"params\", \"requestId\"}}`; a `POST` takes an `Idempotency-Key` header.","contact":{"name":"ControlResell support","url":"https://controlresell.com"}},"servers":[{"url":"https://api.controlresell.com"}],"paths":{"/api/public/v1/me":{"get":{"operationId":"getMe","tags":["Me"],"summary":"The seller the credential acts for","description":"The one route a plan without the public API can call.","responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"The seller.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/public/v1/accounts":{"get":{"operationId":"listAccounts","tags":["Accounts"],"summary":"List the seller's marketplace accounts","description":"The marketplace accounts (Vinted, eBay…) connected to the seller's ControlResell, one page at a time. Requires `accounts:read`.","parameters":[{"name":"limit","in":"query","description":"Page size, 1 to 100 (50 by default).","schema":{"type":"integer","default":50,"format":"int32","maximum":100.0,"minimum":1.0}},{"name":"cursor","in":"query","description":"The `nextCursor` of the previous page.","schema":{"type":"string"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"A page of accounts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPage"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `accounts:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["accounts:read"],"x-controlresell-pagination":"cursor"}},"/api/public/v1/accounts/{id}":{"get":{"operationId":"getAccount","tags":["Accounts"],"summary":"Read one marketplace account","description":"One marketplace account of the seller, by its identifier. Requires `accounts:read`.","parameters":[{"name":"id","in":"path","description":"The account's identifier, a UUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"The account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `accounts:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No such resource for this seller (`account_not_found`): another seller's is a 404 too.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["accounts:read"]}},"/api/public/v1/items":{"get":{"operationId":"listItems","tags":["Items"],"summary":"List the seller's items","description":"The items of the seller's stock, most recently created first, one page at a time: pass the `nextCursor` of a page as `cursor` to read the next one, with the same filters. Requires `items:read`.","parameters":[{"name":"limit","in":"query","description":"Page size, 1 to 100 (50 by default).","schema":{"type":"integer","default":50,"format":"int32","maximum":100.0,"minimum":1.0}},{"name":"cursor","in":"query","description":"The `nextCursor` of the previous page.","schema":{"type":"string"}},{"name":"sold","in":"query","description":"`true`: only sold items; `false`: only unsold ones.","schema":{"type":"boolean"}},{"name":"accountId","in":"query","description":"Only the items listed on this marketplace account (`GET /accounts`).","schema":{"type":"string","format":"uuid"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"A page of items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemPage"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `items:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["items:read"],"x-controlresell-pagination":"cursor"}},"/api/public/v1/items/{id}":{"get":{"operationId":"getItem","tags":["Items"],"summary":"Read one item","description":"One item of the seller's stock, by its identifier. Requires `items:read`.","parameters":[{"name":"id","in":"path","description":"The item's identifier, a number.","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"The item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Item"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `items:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No such resource for this seller (`item_not_found`): another seller's is a 404 too.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["items:read"]}},"/api/public/v1/items/{id}/listings":{"get":{"operationId":"listItemListings","tags":["Items"],"summary":"Where an item is listed","description":"The item's listings on the seller's marketplace accounts, in one page (`nextCursor` is `null`). Requires `items:read`.","parameters":[{"name":"id","in":"path","description":"The item's identifier, a number.","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"The item's listings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingPage"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `items:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No such resource for this seller (`item_not_found`): another seller's is a 404 too.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["items:read"]}},"/api/public/v1/conversations":{"get":{"operationId":"listConversations","tags":["Conversations"],"summary":"List the seller's conversations","description":"The conversations with buyers on the seller's marketplace accounts, latest activity first, one page at a time. A conversation that receives a message while you read moves to the head: read again from the first page to see it. Requires `conversations:read`.","parameters":[{"name":"limit","in":"query","description":"Page size, 1 to 100 (50 by default).","schema":{"type":"integer","default":50,"format":"int32","maximum":100.0,"minimum":1.0}},{"name":"cursor","in":"query","description":"The `nextCursor` of the previous page.","schema":{"type":"string"}},{"name":"unread","in":"query","description":"`true`: only conversations with an unread buyer message; `false`: the others.","schema":{"type":"boolean"}},{"name":"accountId","in":"query","description":"Only the conversations of this marketplace account (`GET /accounts`).","schema":{"type":"string","format":"uuid"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"A page of conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationPage"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `conversations:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["conversations:read"],"x-controlresell-pagination":"cursor"}},"/api/public/v1/conversations/{id}":{"get":{"operationId":"getConversation","tags":["Conversations"],"summary":"Read one conversation","description":"One conversation of the seller, by its identifier. Requires `conversations:read`.","parameters":[{"name":"id","in":"path","description":"The conversation's identifier, a UUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"The conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `conversations:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No such resource for this seller (`conversation_not_found`): another seller's is a 404 too.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["conversations:read"]}},"/api/public/v1/conversations/{id}/messages":{"get":{"operationId":"listConversationMessages","tags":["Conversations"],"summary":"List the messages of a conversation","description":"The messages of one conversation, oldest first, one page at a time: at most its 1 000 most recent messages. Requires `conversations:read`.","parameters":[{"name":"id","in":"path","description":"The conversation's identifier, a UUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","description":"Page size, 1 to 100 (50 by default).","schema":{"type":"integer","default":50,"format":"int32","maximum":100.0,"minimum":1.0}},{"name":"cursor","in":"query","description":"The `nextCursor` of the previous page.","schema":{"type":"string"}}],"responses":{"default":{"description":"Any other error, in the same envelope (`{\"error\": {code, message, params, requestId}}`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"A page of messages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessagePage"}}}},"400":{"description":"A malformed request: `bad_request`, `invalid_limit`, `invalid_cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"No credential, or an unknown, revoked or expired one (`invalid_token`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"The seller's plan does not include the public API (`subscriptions_limit_exceeded`, `params.limit` = `PUBLIC_API`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The API key does not grant `conversations:read` (`insufficient_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No such resource for this seller (`conversation_not_found`): another seller's is a 404 too.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"The rate limit of the credential is reached (`rate_limited`, `Retry-After`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"An unexpected error (`internal_error`): retry later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-controlresell-scopes":["conversations:read"],"x-controlresell-pagination":"cursor"}}},"components":{"schemas":{"ApiError":{"type":"object","title":"ApiError","required":["code","message","params","requestId"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"params":{"type":"object","additionalProperties":{"type":"string"}},"requestId":{"type":"string"}}},"ErrorResponse":{"type":"object","title":"ErrorResponse","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ApiError"}}},"Me":{"type":"object","title":"Me","required":["id","username"],"properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"currency":{"type":["string","null"]}}},"Money":{"type":"object","title":"Money","required":["amount","currency"],"properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"Account":{"type":"object","title":"Account","required":["id","platform","name","status"],"properties":{"id":{"type":"string","format":"uuid"},"platform":{"type":"string"},"name":{"type":"string"},"locale":{"type":["string","null"]},"status":{"type":"string"},"statusChangedAt":{"type":["string","null"],"format":"date-time"},"lockReason":{"type":["string","null"]},"cooldownEndsAt":{"type":["string","null"],"format":"date-time"},"restrictedUntil":{"type":["string","null"],"format":"date-time"},"availableBalance":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"pendingBalance":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}}},"AccountPage":{"type":"object","title":"AccountPage","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Account"}},"nextCursor":{"type":["string","null"]}}},"ItemPhoto":{"type":"object","title":"ItemPhoto","required":["id"],"properties":{"id":{"type":"string","format":"uuid"},"index":{"type":["integer","null"],"format":"int64"},"url":{"type":["string","null"]}}},"Item":{"type":"object","title":"Item","required":["id","name","photos","colorIds","labels","sold","createdAt","updatedAt"],"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"sku":{"type":["string","null"]},"description":{"type":["string","null"]},"photos":{"type":"array","items":{"$ref":"#/components/schemas/ItemPhoto"}},"categoryId":{"type":["integer","null"],"format":"int64"},"brandId":{"type":["integer","null"],"format":"int64"},"sizeId":{"type":["integer","null"],"format":"int64"},"colorIds":{"type":"array","items":{"type":"integer","format":"int64"}},"state":{"type":["integer","null"],"format":"int64"},"sex":{"type":["string","null"]},"labels":{"type":"array","items":{"type":"string"}},"sold":{"type":"boolean"},"estimatedPrice":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"purchasePrice":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"purchaseDate":{"type":["string","null"],"format":"date-time"},"sellingPrice":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"sellingDate":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ItemPage":{"type":"object","title":"ItemPage","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Item"}},"nextCursor":{"type":["string","null"]}}},"Listing":{"type":"object","title":"Listing","required":["id","itemId","accountId","platformId","url","price","status","publishedAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid"},"itemId":{"type":"integer","format":"int64"},"accountId":{"type":"string","format":"uuid"},"platform":{"type":["string","null"]},"platformId":{"type":"string"},"url":{"type":"string"},"price":{"$ref":"#/components/schemas/Money"},"status":{"type":"string"},"publishedAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"viewsCount":{"type":["integer","null"],"format":"int64"},"favoritesCount":{"type":["integer","null"],"format":"int64"},"boostedUntil":{"type":["string","null"],"format":"date-time"}}},"ListingPage":{"type":"object","title":"ListingPage","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"nextCursor":{"type":["string","null"]}}},"Offer":{"type":"object","title":"Offer","required":["price","originalPrice","status"],"properties":{"price":{"$ref":"#/components/schemas/Money"},"originalPrice":{"$ref":"#/components/schemas/Money"},"status":{"type":"string"}}},"Message":{"type":"object","title":"Message","required":["id","conversationId","author","type","status","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"conversationId":{"type":"string","format":"uuid"},"author":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"body":{"type":["string","null"]},"offer":{"anyOf":[{"$ref":"#/components/schemas/Offer"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time"}}},"Conversation":{"type":"object","title":"Conversation","required":["id","accountId","unread","pinned","updatedAt"],"properties":{"id":{"type":"string","format":"uuid"},"accountId":{"type":"string","format":"uuid"},"platform":{"type":["string","null"]},"buyerLogin":{"type":["string","null"]},"unread":{"type":"boolean"},"pinned":{"type":"boolean"},"lastMessage":{"anyOf":[{"$ref":"#/components/schemas/Message"},{"type":"null"}]},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ConversationPage":{"type":"object","title":"ConversationPage","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Conversation"}},"nextCursor":{"type":["string","null"]}}},"MessagePage":{"type":"object","title":"MessagePage","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"nextCursor":{"type":["string","null"]}}}},"securitySchemes":{"bearerAuth":{"scheme":"bearer","description":"An API key of the seller, sent as `Authorization: Bearer <key>`.","type":"http"}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Me","description":"The seller the API key acts for."},{"name":"Accounts","description":"The seller's marketplace accounts (Vinted, eBay…)."},{"name":"Items","description":"The items of the seller's stock and where they are listed."},{"name":"Conversations","description":"The conversations with buyers and their messages."}]}