Create or update a listing on Depop
This endpoint is deprecated. Please use /api/v1/products/by-sku/{sku}/ instead.
This endpoint allows you to create or update a new listing on Depop. The product will be available for sale immediately. Required OAuth Scopes: - products_write - Required for all product operations - offers_write - Required when setting auto_send_offer_price or auto_negotiate_offer_price
Creating vs. Updating a Listing
-
Creating a listing: If the provided sku does not exist, a new product listing will be created.
-
Updating a listing: If the provided sku already exists, the existing product will be updated with the new details in the request.
Taxonomy
For more information on Depop's taxonomy, please refer to the Concepts/Taxonomy documentation.
Request
- Base URLhttps://partnerapi-staging.depop.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
SKU of the product. Must be unique. It can't be reused. This SKU will be used in other endpoints to reference this particular product and also in the webhooks.
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
}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.