Update an existing product by slug
This endpoint allows you to update an existing product on Depop using its slug. The product will be updated with the new details in the request. Required OAuth Scopes: - products_write - Required for all product operations - offers_write - Required when setting auto_send_offer_price or auto_negotiate_offer_price Note: This endpoint only supports updating existing products. If the slug does not exist, a 404 error will be returned. To create a new product, use the POST /api/v1/products/ or PUT /api/v1/products/by-sku/{sku}/ endpoint instead. SKU: You can set or change the product's sku by including it in the request. Omitting sku leaves the product's current SKU unchanged - it is never cleared by a PUT.
Request
- Base URLhttps://partnerapi-staging.depop.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The slug of the product to update.
Request body
Example request
{
"address": {
"country_code": "GB",
"state": "Greater London"
},
"description": "Vintage Nike T-Shirt in excellent condition.\nBlack with white swoosh logo on the front.\nSize medium, fits true to size.\nSmall mark on the left sleeve (see last image).\n\n#vintage #nike #streetwear #90s",
"price_currency": "GBP",
"price_amount": "25.99",
"auto_send_offer_price": "20.00",
"auto_negotiate_offer_price": "20.00",
"national_shipping_cost": "3.50",
"international_shipping_cost": "12.00",
"quantity": 1,
"pictures": [
{
"url": "https://images.ctfassets.net/itoh30v6uh9a/3c1QQDGUAEHH9A76ovYSTA/1837e557daee3c763b6fbedd19785094/WW.jpg#type=cover-image"
},
{
"url": "https://images.ctfassets.net/itoh30v6uh9a/3c1QQDGUAEHH9A76ovYSTA/1837e557daee3c763b6fbedd19785094/WW.jpg#type=back"
},
{
"url": "https://images.ctfassets.net/itoh30v6uh9a/3c1QQDGUAEHH9A76ovYSTA/1837e557daee3c763b6fbedd19785094/WW.jpg#type=tag"
}
],
"department": "menswear",
"product_type": "tshirts",
"size_set_id": 52,
"size_id": 10,
"condition": "used_excellent",
"colour": [
"black",
"white"
],
"style": [
"streetwear",
"retro",
"sportswear"
],
"age": [
"90s"
],
"source": [
"vintage",
"preloved"
],
"brand_name": "Nike",
"attributes": {
"sleeve-length": [
"short"
],
"material": [
"cotton"
],
"occasion": [
"casual"
]
},
"is_boosted": false,
"sku": "ABC-12345-S-BL"
}Response
Successful operation
Example response
{
"product_id": 12345678,
"slug": "vintage-nike-t-shirt-12345678",
"sku": "ABC-12345-S-BL"
}Changes
No recorded changes to this operation across all 1 revision of this API.