{"items":[{"type":"link","label":"Items Connect API","link":"/apis/items","routeSlug":"/apis/items","content":{"contentType":"overview","meta":{"name":"Items Connect API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"items.json","url":"/_bundle/apis/items.json?download"},{"kind":"download","label":"items.yaml","url":"/_bundle/apis/items.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"cURL","lang":"curl"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Items Connect API (0.0.1)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"The Items Connect API streamlines the listing process by allowing sellers to programmatically post items for sale, offering an efficient alternative to creating individual item listings through the user interface."}],"sectionId":"/apis/items"}],"sectionId":"/apis/items"}]}]}},{"type":"group","label":"Items","link":"/apis/items/items","routeSlug":"/apis/items/items","items":[{"label":"Create and publish an item","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/createitem","routeSlug":"/apis/items/items/createitem","metadata":{"seo":{"title":"Create and publish an item","description":"Create and publish an item for sale in Wallapop."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createItem","name":"Create and publish an item","isWebhook":false,"pointer":"/paths/~1items/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create and publish an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create and publish an item for sale in Wallapop."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The text fields for the item, such as the description and title, are written in a specific language.","example":"es"}],"pointer":"/paths/~1items/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateItemRequest"}},"schemaId":"components/schemas/CreateItemRequest","pointer":"/paths/~1items/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/items","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateItemRequest"}},"responseCodes":["201","400"],"pointer":"/items","href":"items/createitem","openApiOperationId":"createItem","summary":"Create and publish an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"schemaId":"components/schemas/CreateItemRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateItemRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"The item was successfully created and published.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}},"schemaId":"schema_13"},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1items/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"schema_13","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/createitem"}],"panels":[]}]},"httpPath":"/items"},{"label":"List items for sale","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/useritems","routeSlug":"/apis/items/items/useritems","metadata":{"seo":{"title":"List items for sale","description":"Provides a list of items you have published for sale and that are available for buyers on Wallapop."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"userItems","name":"List items for sale","isWebhook":false,"pointer":"/paths/~1items/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List items for sale","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Provides a list of items you have published for sale and that are available for buyers on Wallapop."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"since","in":"query","schemaId":"schema_12","description":"If there is a previous request, include the \"next\" pagination token from the response's metadata.","example":"SSMxODk2ODUyODFfRF9VIzc0ODIxMDMzX1AjMjAyMS0wNS0yNVQxNDoxMDoyM1o"}],"pointer":"/paths/~1items/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[{"name":"since","in":"query","example":"SSMxODk2ODUyODFfRF9VIzc0ODIxMDMzX1AjMjAyMS0wNS0yNVQxNDoxMDoyM1o","schemaId":"schema_12"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/items","href":"items/useritems","openApiOperationId":"userItems","summary":"List items for sale"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The list of items was successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserItemsResponse"}},"schemaId":"components/schemas/UserItemsResponse"},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters."},{"code":"401","description":"Unauthorized. The request lacks authentication credentials or the provided credentials are invalid."}],"pointer":"/paths/~1items/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserItemsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserItemsResponse"}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/useritems"}],"panels":[]}]},"httpPath":"/items"},{"label":"Retrieve item details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/getitem","routeSlug":"/apis/items/items/getitem","metadata":{"seo":{"title":"Retrieve item details","description":"Retrieves details about an item that you have for sale."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getItem","name":"Retrieve item details","isWebhook":false,"pointer":"/paths/~1items~1{itemId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve item details","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves details about an item that you have for sale."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"itemId","in":"path","schemaId":"schema_12","description":"The item ID.","required":true,"example":"xpzpvny244z3"}],"pointer":"/paths/~1items~1{itemId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/{itemId}","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"itemId","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"pointer":"/items/{itemId}","href":"items/getitem","openApiOperationId":"getItem","summary":"Retrieve item details"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The information about the item has been successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ItemDetailResponse"}},"schemaId":"components/schemas/ItemDetailResponse"},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."}],"pointer":"/paths/~1items~1{itemId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ItemDetailResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ItemDetailResponse"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/getitem"}],"panels":[]}]},"httpPath":"/items/{itemId}"},{"label":"Update an item","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/updateitem","routeSlug":"/apis/items/items/updateitem","metadata":{"seo":{"title":"Update an item","description":"Update one of your items."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateItem","name":"Update an item","isWebhook":false,"pointer":"/paths/~1items~1{itemId}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update one of your items."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"itemId","in":"path","schemaId":"schema_12","description":"The item ID.","required":true,"example":"xpzpvny244z3"}],"pointer":"/paths/~1items~1{itemId}/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The text fields for the item, such as the description and title, are written in a specific language.","example":"es"}],"pointer":"/paths/~1items~1{itemId}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateItemRequest"}},"schemaId":"components/schemas/UpdateItemRequest","pointer":"/paths/~1items~1{itemId}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{itemId}","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"itemId","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateItemRequest"}},"responseCodes":["204","400","403","404","409"],"pointer":"/items/{itemId}","href":"items/updateitem","openApiOperationId":"updateItem","summary":"Update an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"schemaId":"components/schemas/UpdateItemRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateItemRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content. The resource was successfully updated and there is no content to display."},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not found. A resource with the specified ID does not exist."},{"code":"409","description":"There is a concurrent modification conflict."}],"pointer":"/paths/~1items~1{itemId}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/updateitem"}],"panels":[]}]},"httpPath":"/items/{itemId}"},{"label":"Delete an item","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/deleteitem","routeSlug":"/apis/items/items/deleteitem","metadata":{"seo":{"title":"Delete an item","description":"Delete a specific item by providing its ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteItem","name":"Delete an item","isWebhook":false,"pointer":"/paths/~1items~1{itemId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete a specific item by providing its ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"itemId","in":"path","schemaId":"schema_12","description":"The item ID.","required":true,"example":"xpzpvny244z3"}],"pointer":"/paths/~1items~1{itemId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/items/{itemId}","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"itemId","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","400","403","404","409"],"pointer":"/items/{itemId}","href":"items/deleteitem","openApiOperationId":"deleteItem","summary":"Delete an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content. The resource was successfully deleted and there is no content to display."},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."},{"code":"409","description":"There is a concurrent modification conflict."}],"pointer":"/paths/~1items~1{itemId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/deleteitem"}],"panels":[]}]},"httpPath":"/items/{itemId}"},{"label":"Add a image to an item","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/additemimage","routeSlug":"/apis/items/items/additemimage","metadata":{"seo":{"title":"Add a image to an item","description":"Add an additional image to the Wallapop item page. You can also arrange the display order of these images."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addItemImage","name":"Add a image to an item","isWebhook":false,"pointer":"/paths/~1items~1{itemId}~1images/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add a image to an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add an additional image to the Wallapop item page. You can also arrange the display order of these images."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"itemId","in":"path","schemaId":"schema_12","description":"The ID of the item.","required":true,"example":"xpzpvny244z3"}],"pointer":"/paths/~1items~1{itemId}~1images/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddItemImageRequest"}},"schemaId":"components/schemas/AddItemImageRequest","pointer":"/paths/~1items~1{itemId}~1images/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/items/{itemId}/images","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"itemId","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/AddItemImageRequest"}},"responseCodes":["201","400","403","409"],"pointer":"/items/{itemId}/images","href":"items/additemimage","openApiOperationId":"addItemImage","summary":"Add a image to an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"schemaId":"components/schemas/AddItemImageRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/AddItemImageRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"The image was successfully added to the item.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_14"}},"schemaId":"schema_14"},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"409","description":"There is a concurrent modification conflict."}],"pointer":"/paths/~1items~1{itemId}~1images/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"schema_14","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_14"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/additemimage"}],"panels":[]}]},"httpPath":"/items/{itemId}/images"},{"label":"Delete an image from an item","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/deleteitemimage","routeSlug":"/apis/items/items/deleteitemimage","metadata":{"seo":{"title":"Delete an image from an item","description":"Delete a image from an item by providing the ID of the item and image."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteItemImage","name":"Delete an image from an item","isWebhook":false,"pointer":"/paths/~1items~1{itemId}~1images~1{imageId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete an image from an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete a image from an item by providing the ID of the item and image."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"itemId","in":"path","schemaId":"schema_12","description":"The ID of the item.","required":true,"example":"xpzpvny244z3"},{"name":"imageId","in":"path","schemaId":"schema_12","description":"The ID of the image.","required":true,"example":"0j2rmkq7vr6y"}],"pointer":"/paths/~1items~1{itemId}~1images~1{imageId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/items/{itemId}/images/{imageId}","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"itemId","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_12"},{"name":"imageId","in":"path","required":true,"example":"0j2rmkq7vr6y","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","400","403","404","409"],"pointer":"/items/{itemId}/images/{imageId}","href":"items/deleteitemimage","openApiOperationId":"deleteItemImage","summary":"Delete an image from an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content. The resource was successfully deleted and there is no content to display."},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."},{"code":"409","description":"There is a concurrent modification conflict."}],"pointer":"/paths/~1items~1{itemId}~1images~1{imageId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/deleteitemimage"}],"panels":[]}]},"httpPath":"/items/{itemId}/images/{imageId}"},{"label":"Mark an item as sold","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/markitemassold","routeSlug":"/apis/items/items/markitemassold","metadata":{"seo":{"title":"Mark an item as sold","description":"Only applies to items sold outside of Wallapop. Change the item's status to \"sold\" after the payment has been completed outside of Wallapop."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"markItemAsSold","name":"Mark an item as sold","isWebhook":false,"pointer":"/paths/~1items~1{id}~1sold/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Mark an item as sold","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Only applies to items sold outside of Wallapop. Change the item's status to \"sold\" after the payment has been completed outside of Wallapop."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_15","required":true}],"pointer":"/paths/~1items~1{id}~1sold/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{id}/sold","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_15"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","403","404"],"pointer":"/items/{id}/sold","href":"items/markitemassold","openApiOperationId":"markItemAsSold","summary":"Mark an item as sold"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"The item was successfully marked as \"sold\"."},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."}],"pointer":"/paths/~1items~1{id}~1sold/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/markitemassold"}],"panels":[]}]},"httpPath":"/items/{id}/sold"},{"label":"Publish an inactive item","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/activateitem","routeSlug":"/apis/items/items/activateitem","metadata":{"seo":{"title":"Publish an inactive item","description":"If you have deactivated a published item, you can re-publish it by using this endpoint. Requires a Wallapop Pro subscription. Refer to Activating and deactivating products."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"activateItem","name":"Publish an inactive item","isWebhook":false,"pointer":"/paths/~1items~1{id}~1activate/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Publish an inactive item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If you have deactivated a published item, you can re-publish it by using this endpoint. Requires a Wallapop Pro subscription. Refer to "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://ayuda.wallapop.com/hc/es-es/articles/23521878501137-Activaci%C3%B3n-y-desactivaci%C3%B3n-de-productos"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Activating and deactivating products"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_15","required":true}],"pointer":"/paths/~1items~1{id}~1activate/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{id}/activate","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_15"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","403","404"],"pointer":"/items/{id}/activate","href":"items/activateitem","openApiOperationId":"activateItem","summary":"Publish an inactive item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content. The resource was successfully published and there is no content to display."},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."}],"pointer":"/paths/~1items~1{id}~1activate/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/activateitem"}],"panels":[]}]},"httpPath":"/items/{id}/activate"},{"label":"Deactivate a published item","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/inactivateitem","routeSlug":"/apis/items/items/inactivateitem","metadata":{"seo":{"title":"Deactivate a published item","description":"Deactivate a published item to hide it from buyers on Wallapop. Requires a Wallapop Pro subscription. Refer to Activating and deactivating products for more details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"inactivateItem","name":"Deactivate a published item","isWebhook":false,"pointer":"/paths/~1items~1{id}~1inactivate/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Deactivate a published item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deactivate a published item to hide it from buyers on Wallapop. Requires a Wallapop Pro subscription. Refer to "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://ayuda.wallapop.com/hc/es-es/articles/23521878501137-Activaci%C3%B3n-y-desactivaci%C3%B3n-de-productos"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Activating and deactivating products"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for more details."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_15","required":true}],"pointer":"/paths/~1items~1{id}~1inactivate/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{id}/inactivate","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_15"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","403","404"],"pointer":"/items/{id}/inactivate","href":"items/inactivateitem","openApiOperationId":"inactivateItem","summary":"Deactivate a published item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"The item was successfully deactivated."},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."}],"pointer":"/paths/~1items~1{id}~1inactivate/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/inactivateitem"}],"panels":[]}]},"httpPath":"/items/{id}/inactivate"},{"label":"Reserve an item","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/reserveitem","routeSlug":"/apis/items/items/reserveitem","metadata":{"seo":{"title":"Reserve an item","description":"Reserve a published item."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"reserveItem","name":"Reserve an item","isWebhook":false,"pointer":"/paths/~1items~1{id}~1reserve/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Reserve an item","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Reserve a published item."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_15","required":true}],"pointer":"/paths/~1items~1{id}~1reserve/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{id}/reserve","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_15"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","400","403","404","409"],"pointer":"/items/{id}/reserve","href":"items/reserveitem","openApiOperationId":"reserveItem","summary":"Reserve an item"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"The item was successfully reserved."},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."},{"code":"409","description":"Conflict. The item cannot be reserved in its current state."}],"pointer":"/paths/~1items~1{id}~1reserve/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/reserveitem"}],"panels":[]}]},"httpPath":"/items/{id}/reserve"},{"label":"Cancel an item reservation","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/unreserveitem","routeSlug":"/apis/items/items/unreserveitem","metadata":{"seo":{"title":"Cancel an item reservation","description":"Cancel an item reservation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"unReserveItem","name":"Cancel an item reservation","isWebhook":false,"pointer":"/paths/~1items~1{id}~1unreserve/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel an item reservation","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Cancel an item reservation."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_15","required":true}],"pointer":"/paths/~1items~1{id}~1unreserve/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/items/{id}/unreserve","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"xpzpvny244z3","schemaId":"schema_15"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["204","400","403","404","409"],"pointer":"/items/{id}/unreserve","href":"items/unreserveitem","openApiOperationId":"unReserveItem","summary":"Cancel an item reservation"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"The item reservation was successfully cancelled."},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden. The user does not have permission to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist."},{"code":"409","description":"Conflict. The item reservation cannot be cancelled in its current state."}],"pointer":"/paths/~1items~1{id}~1unreserve/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/unreserveitem"}],"panels":[]}]},"httpPath":"/items/{id}/unreserve"},{"label":"Retrieve all categories","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/paths/~1items~1categories/get","routeSlug":"/apis/items/items/paths/~1items~1categories/get","metadata":{"seo":{"title":"Retrieve all categories","description":"Retrieve Wallaop's complete category hierarchy for items. This list will help you identify the categories that best classify the items you want to sell."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"name":"Retrieve all categories","isWebhook":false,"pointer":"/paths/~1items~1categories/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve all categories","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve Wallaop's complete category hierarchy for items. This list will help you identify the categories that best classify the items you want to sell."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The language of the category title will be returned when it has translations in different languages.","example":"es"}],"pointer":"/paths/~1items~1categories/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/categories","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200"],"pointer":"/items/categories","href":"items/paths/~1items~1categories/get","summary":"Retrieve all categories"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The categories were successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoriesResponse"}},"schemaId":"components/schemas/CategoriesResponse"}],"pointer":"/paths/~1items~1categories/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CategoriesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoriesResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/paths/~1items~1categories/get"}],"panels":[]}]},"httpPath":"/items/categories"},{"label":"Retrieve a category's attributes","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/getcategoryattributes","routeSlug":"/apis/items/items/getcategoryattributes","metadata":{"seo":{"title":"Retrieve a category's attributes","description":"Returns the acceptable attributes for items categorized by category, including mandatory and optional attributes."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCategoryAttributes","name":"Retrieve a category's attributes","isWebhook":false,"pointer":"/paths/~1items~1categories~1{id}~1attributes/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a category's attributes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the acceptable attributes for items categorized by category, including mandatory and optional attributes."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_12","description":"The ID of the category.","required":true,"example":"12467"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The language used to present the attribute title when it has translations in multiple languages.","example":"es"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/categories/{id}/attributes","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"12467","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/items/categories/{id}/attributes","href":"items/getcategoryattributes","openApiOperationId":"getCategoryAttributes","summary":"Retrieve a category's attributes"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The category's attributes were successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoryAttributesResponse"}},"schemaId":"components/schemas/CategoryAttributesResponse"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CategoryAttributesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoryAttributesResponse"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/getcategoryattributes"}],"panels":[]}]},"httpPath":"/items/categories/{id}/attributes"},{"label":"Retrieve the authenticated user's listing limits","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/getmyitemslimits","routeSlug":"/apis/items/items/getmyitemslimits","metadata":{"seo":{"title":"Retrieve the authenticated user's listing limits","description":"Returns the listing limits that apply to the authenticated user, grouped per limit. Each entry lists the categories that share the limit along with the total capacity, the number of items currently counted against it, and the remaining slots."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMyItemsLimits","name":"Retrieve the authenticated user's listing limits","isWebhook":false,"pointer":"/paths/~1items~1limits/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the authenticated user's listing limits","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the listing limits that apply to the authenticated user, grouped per limit. Each entry lists the categories that share the limit along with the total capacity, the number of items currently counted against it, and the remaining slots."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/limits","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/items/limits","href":"items/getmyitemslimits","openApiOperationId":"getMyItemsLimits","summary":"Retrieve the authenticated user's listing limits"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The listing limits were successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMyItemsLimitsResponse"}},"schemaId":"components/schemas/GetMyItemsLimitsResponse"},{"code":"401","description":"Unauthorized. The request lacks authentication credentials or the provided credentials are invalid."}],"pointer":"/paths/~1items~1limits/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetMyItemsLimitsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetMyItemsLimitsResponse"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/getmyitemslimits"}],"panels":[]}]},"httpPath":"/items/limits"},{"label":"List inactive items","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/items/userinactiveitems","routeSlug":"/apis/items/items/userinactiveitems","metadata":{"seo":{"title":"List inactive items","description":"Returns a list of items that you have currently inactive (not available for buyers)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"userInactiveItems","name":"List inactive items","isWebhook":false,"pointer":"/paths/~1items~1inactive/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List inactive items","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a list of items that you have currently inactive (not available for buyers).\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"since","in":"query","schemaId":"schema_12","description":"If there is a previous request, include the \"next\" pagination token from the response's metadata.","example":"SSMxODk2ODUyODFfRF9VIzc0ODIxMDMzX1AjMjAyMS0wNS0yNVQxNDoxMDoyM1o"}],"pointer":"/paths/~1items~1inactive/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/inactive","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[{"name":"since","in":"query","example":"SSMxODk2ODUyODFfRF9VIzc0ODIxMDMzX1AjMjAyMS0wNS0yNVQxNDoxMDoyM1o","schemaId":"schema_12"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/items/inactive","href":"items/userinactiveitems","openApiOperationId":"userInactiveItems","summary":"List inactive items"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The list of inactive items was successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserItemsResponse"}},"schemaId":"components/schemas/UserItemsResponse"},{"code":"400","description":"Bad request. The server cannot process the request due to client-side issues, such as malformed syntax or invalid parameters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"401","description":"Unauthorized. The request lacks authentication credentials or the provided credentials are invalid."}],"pointer":"/paths/~1items~1inactive/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserItemsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserItemsResponse"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/items/userinactiveitems"}],"panels":[]}]},"httpPath":"/items/inactive"}],"content":{"contentType":"group","meta":{"name":"Items"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Items","showPageActions":true},{"nodeType":"markdoc","content":"An item refers to a listing created by a user on the Wallapop marketplace, indicating their intent to sell. These items can include a diverse range of products."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/items","summary":"Create and publish an item","prefix":{"name":"post","color":"post"},"badges":[],"link":"/items/createitem","deprecated":false},{"title":"/items","summary":"List items for sale","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/useritems","deprecated":false},{"title":"/items/{itemId}","summary":"Retrieve item details","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/getitem","deprecated":false},{"title":"/items/{itemId}","summary":"Update an item","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/updateitem","deprecated":false},{"title":"/items/{itemId}","summary":"Delete an item","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/items/deleteitem","deprecated":false},{"title":"/items/{itemId}/images","summary":"Add a image to an item","prefix":{"name":"post","color":"post"},"badges":[],"link":"/items/additemimage","deprecated":false},{"title":"/items/{itemId}/images/{imageId}","summary":"Delete an image from an item","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/items/deleteitemimage","deprecated":false},{"title":"/items/{id}/sold","summary":"Mark an item as sold","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/markitemassold","deprecated":false},{"title":"/items/{id}/activate","summary":"Publish an inactive item","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/activateitem","deprecated":false},{"title":"/items/{id}/inactivate","summary":"Deactivate a published item","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/inactivateitem","deprecated":false},{"title":"/items/{id}/reserve","summary":"Reserve an item","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/reserveitem","deprecated":false},{"title":"/items/{id}/unreserve","summary":"Cancel an item reservation","prefix":{"name":"put","color":"put"},"badges":[],"link":"/items/unreserveitem","deprecated":false},{"title":"/items/categories","summary":"Retrieve all categories","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/paths/~1items~1categories/get","deprecated":false},{"title":"/items/categories/{id}/attributes","summary":"Retrieve a category's attributes","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/getcategoryattributes","deprecated":false},{"title":"/items/limits","summary":"Retrieve the authenticated user's listing limits","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/getmyitemslimits","deprecated":false},{"title":"/items/inactive","summary":"List inactive items","prefix":{"name":"get","color":"get"},"badges":[],"link":"/items/userinactiveitems","deprecated":false}]}]}]}]}},{"type":"group","label":"Categories","link":"/apis/items/categories","routeSlug":"/apis/items/categories","items":[{"label":"Retrieve all categories","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/categories/paths/~1items~1categories/get","routeSlug":"/apis/items/categories/paths/~1items~1categories/get","metadata":{"seo":{"title":"Retrieve all categories","description":"Retrieve Wallaop's complete category hierarchy for items. This list will help you identify the categories that best classify the items you want to sell."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"name":"Retrieve all categories","isWebhook":false,"pointer":"/paths/~1items~1categories/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve all categories","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve Wallaop's complete category hierarchy for items. This list will help you identify the categories that best classify the items you want to sell."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The language of the category title will be returned when it has translations in different languages.","example":"es"}],"pointer":"/paths/~1items~1categories/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/categories","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200"],"pointer":"/items/categories","href":"categories/paths/~1items~1categories/get","summary":"Retrieve all categories"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The categories were successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoriesResponse"}},"schemaId":"components/schemas/CategoriesResponse"}],"pointer":"/paths/~1items~1categories/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CategoriesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoriesResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/categories/paths/~1items~1categories/get"}],"panels":[]}]},"httpPath":"/items/categories"},{"label":"Retrieve a category's attributes","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/items/categories/getcategoryattributes","routeSlug":"/apis/items/categories/getcategoryattributes","metadata":{"seo":{"title":"Retrieve a category's attributes","description":"Returns the acceptable attributes for items categorized by category, including mandatory and optional attributes."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCategoryAttributes","name":"Retrieve a category's attributes","isWebhook":false,"pointer":"/paths/~1items~1categories~1{id}~1attributes/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a category's attributes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the acceptable attributes for items categorized by category, including mandatory and optional attributes."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthWithPKCE","scopes":[],"type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_12","description":"The ID of the category.","required":true,"example":"12467"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The language used to present the attribute title when it has translations in multiple languages.","example":"es"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/items/categories/{id}/attributes","servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"12467","schemaId":"schema_12"}],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":false,"example":"es","schemaId":"schema_12"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthWithPKCE","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/items/categories/{id}/attributes","href":"categories/getcategoryattributes","openApiOperationId":"getCategoryAttributes","summary":"Retrieve a category's attributes"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The category's attributes were successfully retrieved.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoryAttributesResponse"}},"schemaId":"components/schemas/CategoryAttributesResponse"},{"code":"404","description":"Not Found. A resource with the specified ID does not exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1items~1categories~1{id}~1attributes/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CategoryAttributesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CategoryAttributesResponse"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/categories/getcategoryattributes"}],"panels":[]}]},"httpPath":"/items/categories/{id}/attributes"}],"content":{"contentType":"group","meta":{"name":"Categories"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Categories","showPageActions":true},{"nodeType":"markdoc","content":"A category is a classification for product listings, with specific attributes and constraints that products within the category must adhere to."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/items/categories","summary":"Retrieve all categories","prefix":{"name":"get","color":"get"},"badges":[],"link":"/categories/paths/~1items~1categories/get","deprecated":false},{"title":"/items/categories/{id}/attributes","summary":"Retrieve a category's attributes","prefix":{"name":"get","color":"get"},"badges":[],"link":"/categories/getcategoryattributes","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/CreateItemRequest":{"id":"components/schemas/CreateItemRequest","kind":"json-schema","title":"CreateItemRequest","data":{"type":"object","required":["item","main_image"],"properties":{"item":{"$ref":"#/components/schemas/Item"},"main_image":{"$ref":"#/components/schemas/MainImage"},"stock":{"$ref":"#/components/schemas/Stock"}}}},"components/schemas/UpdateItemRequest":{"id":"components/schemas/UpdateItemRequest","kind":"json-schema","title":"UpdateItemRequest","data":{"type":"object","required":["item"],"properties":{"item":{"$ref":"#/components/schemas/Item"},"show_discount":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Whether to display the item discount. Requires a Wallapop Pro subscription. Refer to "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://ayuda.wallapop.com/hc/es-es/articles/12632401453585-Muestra-descuentos-en-tus-productos"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Show discounts on your products"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for more details."},"children":[]}]}]}],"example":false},"stock":{"$ref":"#/components/schemas/Stock"}}}},"components/schemas/Item":{"id":"components/schemas/Item","kind":"json-schema","title":"Item","data":{"type":"object","required":["category_leaf_id","title","description","price"],"properties":{"category_leaf_id":{"type":"string","description":"The category used to classify the item. The category must be an assignable category.","example":"9931"},"title":{"type":"string","description":"The item's title.","example":"Title example"},"description":{"type":"string","description":"The item description.","example":"A renowned line of performance and lifestyle sneakers that offer superior comfort, support, and style both on and off the court."},"price":{"$ref":"#/components/schemas/ItemPrice"},"attributes":{"$ref":"#/components/schemas/Attributes"},"hashtags":{"$ref":"#/components/schemas/ItemHashTags"},"delivery":{"$ref":"#/components/schemas/DeliveryAttributes"}}}},"components/schemas/ItemHashTags":{"id":"components/schemas/ItemHashTags","kind":"json-schema","title":"ItemHashTags","data":{"type":"array","deprecated":true,"description":"List of hashtags.","example":["awesome","original"],"items":{"type":"string"}}},"components/schemas/DeliveryAttributes":{"id":"components/schemas/DeliveryAttributes","kind":"json-schema","title":"DeliveryAttributes","data":{"type":"object","required":["allowed_by_user"],"properties":{"allowed_by_user":{"type":"boolean","description":"Boolean indicating if the seller allows shipping for the item.","example":true},"max_weight_kg":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The maximum item weight in kilograms for shipping. Acceptable values are "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"2"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"5"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"10"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"20"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"30"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"?"},"children":[]}]}]}],"example":10},"free_shipping":{"type":"boolean","format":"uuid","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Whether to offer free shipping. Requires a Wallapop Pro subscription. For more details, refer to "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://ayuda.wallapop.com/hc/es-es/articles/9971072329361-Ofrece-env%C3%ADo-gratis"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offer free shipping"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":false}}}},"components/schemas/ItemPrice":{"id":"components/schemas/ItemPrice","kind":"json-schema","title":"ItemPrice","data":{"required":["cash_amount","currency"],"properties":{"cash_amount":{"type":"number","description":"The price of the item.","example":75.5},"currency":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The currency code. Only supports "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"EUR"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"EUR"}}}},"components/schemas/Attributes":{"id":"components/schemas/Attributes","kind":"json-schema","title":"Attributes","data":{"type":"object","additionalProperties":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Attributes that only apply for some categories. You can retrieve the expected attributes/values by category using "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#category/getCategoryAttributes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"this operation"},"children":[]}]}]}]}],"example":{"external_id":"407947058","brand":"Abc Design","size":34,"condition":"new","color":"yellow"}}},"components/schemas/MainImage":{"id":"components/schemas/MainImage","kind":"json-schema","title":"MainImage","data":{"required":["url"],"properties":{"url":{"$ref":"#/components/schemas/ExternalImageURL"}}}},"components/schemas/AddItemImageRequest":{"id":"components/schemas/AddItemImageRequest","kind":"json-schema","title":"AddItemImageRequest","data":{"required":["url","order"],"properties":{"url":{"$ref":"#/components/schemas/ExternalImageURL"},"order":{"type":"integer","minimum":0,"description":"The order the image will display in the Wallapop interface."}}}},"components/schemas/ExternalImageURL":{"id":"components/schemas/ExternalImageURL","kind":"json-schema","title":"ExternalImageURL","data":{"type":"string","description":"Provide a direct link to the image without redirections. The HTTP response code should be 2xx (e.g., 200). Only JPG or JPEG files up to 10 MB are allowed.\n","example":"http://cdn.portal.com/image129.jpg"}},"components/schemas/Image":{"id":"components/schemas/Image","kind":"json-schema","title":"Image","data":{"type":"object","required":["id","urls"],"properties":{"id":{"type":"string","description":"The image ID.","example":"npj9rg80kmje"},"urls":{"$ref":"#/components/schemas/ImageURLs"}}}},"components/schemas/ImageURLs":{"id":"components/schemas/ImageURLs","kind":"json-schema","title":"ImageURLs","data":{"type":"object","required":["small","medium","big"],"properties":{"small":{"type":"string","format":"uri","description":"For any given image, this is the URL to the smallest version with a maximum width of 320 pixels.","example":"http://cdn-beta.wallapop.com/images/10420/35/71/__/c10420p190124802/i421106105.jpg?pictureSize=W320"},"medium":{"type":"string","format":"uri","description":"For any given image, this URL links to the medium-sized version with a maximum width of 640 pixels.","example":"http://cdn-beta.wallapop.com/images/10420/35/71/__/c10420p190124802/i421106105.jpg?pictureSize=W640"},"big":{"type":"string","format":"uri","description":"For any given image, this URL links to the largest-sized version with a maximum width of 800 pixels.","example":"http://cdn-beta.wallapop.com/images/10420/35/71/__/c10420p190124802/i421106105.jpg?pictureSize=W800"}}}},"components/schemas/Metadata":{"id":"components/schemas/Metadata","kind":"json-schema","title":"Metadata","data":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PaginationMetadata","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" if there are not any results left (a maximum of 40 items by page)."},"children":[]}]}]}]}}}},"components/schemas/PaginationMetadata":{"id":"components/schemas/PaginationMetadata","kind":"json-schema","title":"PaginationMetadata","data":{"type":"object","properties":{"next":{"type":"string","description":"Token used in the next request to fetch the following set of resources.\n","example":"SSMxODk2ODUyODFfRF9VIzc0ODIxMDMzX1AjMjAyMS0wNS0yNVQxNDoxMDoyM1o"}}}},"components/schemas/UserItemsResponse":{"id":"components/schemas/UserItemsResponse","kind":"json-schema","title":"UserItemsResponse","data":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ItemInUserItemsResponse"},"uniqueItems":true,"minItems":0,"description":"A list of your items."},"meta":{"$ref":"#/components/schemas/Metadata"}}}},"components/schemas/ItemInUserItemsResponse":{"id":"components/schemas/ItemInUserItemsResponse","kind":"json-schema","title":"ItemInUserItemsResponse","data":{"type":"object","required":["id","title","images","price"],"properties":{"id":{"type":"string","description":"The ID of the item.","example":"xpzpvny244z3"},"title":{"type":"string","description":"The item title.","example":"Air Jordan shoes"},"images":{"type":"array","items":{"$ref":"#/components/schemas/Image"},"uniqueItems":true,"minItems":0,"description":"A list of all images for an item, which may be empty for newly created items during the resizing process.\n"},"price":{"$ref":"#/components/schemas/ItemPrice"},"reserved":{"$ref":"#/components/schemas/Reserved","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is reserved. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"inactive":{"$ref":"#/components/schemas/Inactive","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is inactive. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"expired":{"$ref":"#/components/schemas/Expired","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is expired. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]}}}},"components/schemas/ItemDetailResponse":{"id":"components/schemas/ItemDetailResponse","kind":"json-schema","title":"ItemDetailResponse","data":{"type":"object","required":["id","title","description","category_leaf_id","images","price"],"properties":{"id":{"type":"string","description":"The ID of the item.","example":"xpzpvny244z3"},"category_leaf_id":{"type":"string","description":"The ID of the category assigned to the item.","example":"9931"},"title":{"type":"string","description":"The item title.","example":"Air Jordan Basketball Shoes"},"description":{"type":"string","description":"The item description.","example":"A renowned line of performance and lifestyle sneakers that offer superior comfort, support, and style both on and off the court."},"price":{"$ref":"#/components/schemas/ItemPrice"},"images":{"type":"array","items":{"$ref":"#/components/schemas/Image"},"uniqueItems":true,"minItems":0,"description":"A user-defined ordered list of images associated with the item.\n"},"attributes":{"$ref":"#/components/schemas/Attributes"},"hashtags":{"$ref":"#/components/schemas/ItemHashTags"},"delivery":{"$ref":"#/components/schemas/DeliveryAttributes"},"reserved":{"$ref":"#/components/schemas/Reserved","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is reserved. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"inactive":{"$ref":"#/components/schemas/Inactive","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is inactive. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"expired":{"$ref":"#/components/schemas/Expired","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is expired. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"sold":{"$ref":"#/components/schemas/Sold","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This object appears in the response with a value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" only if the item is sold. Otherwise, it will be omitted from the item information response."},"children":[]}]}]}]},"stock":{"$ref":"#/components/schemas/Stock"}}}},"components/schemas/Reserved":{"id":"components/schemas/Reserved","kind":"json-schema","title":"Reserved","data":{"type":"object","required":["flag"],"properties":{"flag":{"type":"boolean","description":"Whether the item is reserved."}}}},"components/schemas/Inactive":{"id":"components/schemas/Inactive","kind":"json-schema","title":"Inactive","data":{"type":"object","required":["flag"],"properties":{"flag":{"type":"boolean","description":"Whether the item is inactive."}}}},"components/schemas/Sold":{"id":"components/schemas/Sold","kind":"json-schema","title":"Sold","data":{"type":"object","required":["flag"],"properties":{"flag":{"type":"boolean","description":"Whether the item is sold."}}}},"components/schemas/Expired":{"id":"components/schemas/Expired","kind":"json-schema","title":"Expired","data":{"type":"object","required":["flag"],"properties":{"flag":{"type":"boolean","description":"Whether the item is expired."}}}},"components/schemas/CategoryAttributeDiscreteValuesResponse":{"id":"components/schemas/CategoryAttributeDiscreteValuesResponse","kind":"json-schema","title":"CategoryAttributeDiscreteValuesResponse","data":{"description":"An attribute that allows selection from a predefined set of options, similar to choosing a value from an enumerated list.","required":["id","type","is_mandatory","options"],"properties":{"id":{"type":"string","description":"The ID of the attribute."},"type":{"type":"string","enum":["discrete_values"]},"is_mandatory":{"type":"boolean","description":"Indicates whether the attribute is mandatory.","example":true},"mandatory_by_date":{"$ref":"#/components/schemas/MandatoryByDate"},"options":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The options for attributes of type 'discrete_values'."},"children":[]}]}]}],"required":["max_choices","values"],"properties":{"max_choices":{"type":"integer","description":"The maximum number of selectable options."},"values":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the attribute value, expected when adding or updating a specific item attribute."},"title":{"type":"string","description":"The title of the option in the requested language, if available."}}}}}}}}},"components/schemas/CategoryAttributeTextValueResponse":{"id":"components/schemas/CategoryAttributeTextValueResponse","kind":"json-schema","title":"CategoryAttributeTextValueResponse","data":{"type":"object","description":"An attribute that accepts text input (i.e., a string of characters).","required":["id","type","is_mandatory","max_length"],"properties":{"id":{"type":"string","description":"The ID of the attribute."},"type":{"type":"string","enum":["text"]},"is_mandatory":{"type":"boolean","description":"Indicates whether the attribute is mandatory.","example":true},"mandatory_by_date":{"$ref":"#/components/schemas/MandatoryByDate"},"max_length":{"type":"integer","description":"The maximum allowable length for the provided text value.","example":640},"regex":{"type":"array","description":"A regex pattern that the provided text value is validated against.","items":{"$ref":"#/components/schemas/RegexValidation"}}}}},"components/schemas/RegexValidation":{"id":"components/schemas/RegexValidation","kind":"json-schema","title":"RegexValidation","data":{"type":"object","description":"The regex validation applied to the value.","required":["type","value"],"properties":{"type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates how the regex pattern is applied. The possible values include: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_match"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_contain"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"not_contain"},"value":{"type":"string","description":"The regex pattern.","example":"^(\\s+$)"}}}},"components/schemas/CategoryAttributeNumericValueResponse":{"id":"components/schemas/CategoryAttributeNumericValueResponse","kind":"json-schema","title":"CategoryAttributeNumericValueResponse","data":{"description":"An attribute that accepts numerical values.","required":["id","type","is_mandatory","data_type"],"properties":{"id":{"type":"string","description":"The ID of the attribute."},"type":{"type":"string","enum":["numeric"]},"is_mandatory":{"type":"boolean","description":"Indicates whether the attribute is mandatory.","example":true},"mandatory_by_date":{"$ref":"#/components/schemas/MandatoryByDate"},"data_type":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Information about the numeric data type. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://spec.openapis.org/oas/latest.html#data-types"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenAPI Specification"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for more details."},"children":[]}]}]}],"properties":{"type":{"type":"string","enum":["integer","number"],"description":"The numeric data type."},"format":{"type":"string","enum":["int32","int64","float","double"],"description":"The format of the numeric data type."}}},"range":{"type":"object","description":"The allowed range for the numeric value.","properties":{"greater_than_or_equal":{"type":"integer","description":"The minimum allowed value (inclusive)."},"less_than_or_equal":{"type":"integer","description":"The maximum allowed value (inclusive)."}}}}}},"components/schemas/CategoryAttributesResponse":{"id":"components/schemas/CategoryAttributesResponse","kind":"json-schema","title":"CategoryAttributesResponse","data":{"type":"object","properties":{"attributes":{"type":"array","items":{"type":"object","oneOf":[{"$ref":"#/components/schemas/CategoryAttributeDiscreteValuesResponse"},{"$ref":"#/components/schemas/CategoryAttributeTextValueResponse"},{"$ref":"#/components/schemas/CategoryAttributeNumericValueResponse"}]},"example":{"example":{"attributes":[{"id":"condition","type":"discrete_values","is_mandatory":true,"options":{"max_choices":1},"values":[{"id":"new","title":"Nuevo"},{"id":"as_good_as_new","title":"Como nuevo"},{"id":"good","title":"En buen estado"},{"id":"fair","title":"En condiciones aceptables"},{"id":"has_given_it_all","title":"Lo ha dado todo"}]},{"id":"brand","type":"text","is_mandatory":true,"max_length":75},{"id":"height_cm","type":"numeric","is_mandatory":false,"data_type":{"type":"integer"},"range":{"greater_than_or_equal":0,"less_than_or_equal":999}}]}}}}}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","required":["code","message"],"description":"Additional detailed information regarding the error.","properties":{"code":{"type":"string","enum":["INVALID_BODY_REQUEST","MISSING_MAIN_IMAGE","USER_LOCATION_MISSING","INVALID_CATEGORY_LEAF","INVALID_ITEM_ID","INVALID_PICTURE_ID","INVALID_LOCATION","INVALID_IMAGE","INVALID_ATTRIBUTE","NOT_IMPLEMENTED_CATEGORY","INVALID_STATUS","MAX_IMAGES_EXCEED","INSUFFICIENT_IMAGES","USER_UNAUTHORIZED"],"description":"The error code corresponds to one of the values from the specified enumeration list.","example":"USER_LOCATION_MISSING"},"message":{"description":"A detailed error description.","type":"string","example":"User without location set"}}}},"components/schemas/CategoriesResponse":{"id":"components/schemas/CategoriesResponse","kind":"json-schema","title":"CategoriesResponse","data":{"type":"object","properties":{"categories":{"type":"array","description":"Wallapop's category hierarchy used to classify items. Some categories serve as grouping mechanisms, while others can be assigned to items.","items":{"$ref":"#/components/schemas/Category"}}}}},"components/schemas/Category":{"id":"components/schemas/Category","kind":"json-schema","title":"Category","data":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the category.","example":24200},"parent_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If the category is a subcategory, the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"parent_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" indicates the category it is logically nested under. It returns "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" if the category is a root-level category, meaning it is not nested under another category."},"children":[]}]}]}],"example":24200},"name":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The category name will be translated according to the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Accept-Language"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. If Wallapop does not support the language, it will default to English."},"children":[]}]}]}],"example":"Tecnología y electrónica"},"assignable_to_item":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", a category can be assigned to an item. If set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", it acts as a parent category and cannot be selected directly, containing more specific subcategories. Wallapop encourages users to choose the most specific subcategory, so top-level and intermediate categories in certain trees cannot be assigned to items."},"children":[]}]}]}],"example":false},"subcategories":{"type":"array","description":"A list of subcategories that are logically nested under this category. An empty list in the response indicates that the category can be assigned to an item and that there are no specific subcategories available for selection.","example":[{"id":10414,"parent_id":24200,"name":"TV","assignable_to_item":true}],"items":{"$ref":"#/components/schemas/Category"}}}}},"components/schemas/Stock":{"id":"components/schemas/Stock","kind":"json-schema","title":"Stock","data":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The quantity of the item in the seller's inventory. This feature is only available to Wallapop Pro users. See "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://ayuda.wallapop.com/hc/es-es/articles/24311666443025-A%C3%B1ade-stock-a-tus-art%C3%ADculos"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Add stock to your items"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":["units"],"properties":{"units":{"type":"integer","description":"The number of units you have available to sell of this item.\n"}}}},"components/schemas/MandatoryByDate":{"id":"components/schemas/MandatoryByDate","kind":"json-schema","title":"MandatoryByDate","data":{"type":"string","format":"date","description":"The expected date after which the attribute will be mandatory.","example":"2024-12-30"}},"components/schemas/GetMyItemsLimitsResponse":{"id":"components/schemas/GetMyItemsLimitsResponse","kind":"json-schema","title":"GetMyItemsLimitsResponse","data":{"type":"object","required":["limits"],"properties":{"limits":{"type":"array","items":{"$ref":"#/components/schemas/ItemLimitResponse"}}}}},"components/schemas/ItemLimitResponse":{"id":"components/schemas/ItemLimitResponse","kind":"json-schema","title":"ItemLimitResponse","data":{"type":"object","required":["used","category_ids"],"properties":{"total":{"type":"integer","format":"int64","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The maximum number of items allowed. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" when the limit is infinite."},"children":[]}]}]}],"example":200},"used":{"type":"integer","format":"int64","description":"Number of currently published items counted against this limit.","example":1},"available":{"type":"integer","format":"int64","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Remaining slots ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"total - used"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" when the limit is infinite."},"children":[]}]}]}],"example":199},"category_ids":{"type":"array","items":{"type":"integer","format":"int64"},"description":"Category ids that share this limit.","example":[12461,12463,12465,12467]}}}},"schema_12":{"kind":"json-schema","data":{"type":"string"},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the newly created item.","example":"4z4g109xo8zy"}}},"id":"schema_13"},"schema_14":{"kind":"json-schema","data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The image ID.","example":"0j2rmkq7vr6y"}}},"id":"schema_14"},"schema_15":{"kind":"json-schema","data":{"type":"string","description":"The ID of the item.","example":"xpzpvny244z3"},"id":"schema_15"}},"exampleStore":{},"securitySchemeStore":{"oAuthWithPKCE":{"id":"oAuthWithPKCE","type":"oauth2","description":"The Items Connect API uses OAuth 2.0 Authorization Code flow with a Proof Key for Code Exchange.","flows":{"authorizationCode":{"authorizationUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/auth","tokenUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","refreshUrl":"https://iam.wallapop.com/realms/wallapop-connect/protocol/openid-connect/token","scopes":{}}}}},"servers":[{"url":"https://connect.wallapop.com","description":"Production"}],"specType":"openapi"},"options":{"showExtensions":true,"jsonSamplesExpandLevel":5,"codeSamples":{"skipOptionalParameters":true,"languages":[{"lang":"curl","label":"cURL"}]},"feedback":{"type":"mood","settings":{"comment":{"satisfiedLabel":"What did you like most about this page?","dissatisfiedLabel":"What didn't you like about this page?","neutralLabel":"What could we improve on this page?"},"label":"Was this section helpful?"}},"mockServer":{"url":"/_mock/apis/items","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/items.json?download"},{"url":"/_bundle/apis/items.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Items Connect API","description":"The Items Connect API streamlines the listing process by allowing sellers to programmatically post items for sale, offering an efficient alternative to creating individual item listings through the user interface.\n"}},"baseSlug":"/apis/items","routesMapping":{}}