---
title: "Patch an existing product by slug"
method: PATCH
path: "/api/v1/products/by-slug/{slug}/"
tags: ["Products - By Slug"]
---

# Patch an existing product by slug

`PATCH /api/v1/products/by-slug/{slug}/`

## Request

- Base URL: `https://partnerapi-staging.depop.com`
- URL: `https://partnerapi-staging.depop.com/api/v1/products/by-slug/{slug}/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/depop/apis/seller-api/docs/api/v1/products/by-slug/:slug/patch.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to patch an `ON SALE` product's fields on Depop using its slug.
If you want to restock a product, call the PUT endpoint with the same slug with the available quantity.
**Required OAuth Scopes:** - `products_write` - Required for all product operations - `offers_write` - Required when setting `auto_send_offer_price` or `auto_negotiate_offer_price`

## Path parameters

- `slug` string, required

## Request body

- PatchProductRequest
  - `price_amount` string: The price of the item. Must be at least $1.00 or £1.00. Up to 2 decimal places.
  - `discount_price` string: The discount price of the item. Must be less than the price_amount. Up to 2 decimal places.
  - `auto_send_offer_price` string: The price to automatically send to buyers who liked or have bagged the product. There's a fixed 1h delay before an offer is sent. If not set, the product will not automatically send offers. Must be less at least 5% off the price_amount or the discount_price if the discount_price is set. Up to 2 decimal places.
  - `auto_negotiate_offer_price` string: The price to automatically respond with when a buyer sends an offer in this product: * If the buyer offer is higher or equal to this value, then the offer will be automatically accepted. * If the buyer offer is lower than this value, then the offer will be automatically countered with this price. If the buyer counters again, the same value will be used to counter the buyer's offer. If not set, the offers will not be automatically responded to. Must be less at least 5% off the price_amount. Up to 2 decimal places. **Note:** Requires `offers_write` OAuth scope.
  - `quantity` number: The quantity of the product available for sale. Must be at least 1. (Use the marked as sold endpoint to reduce quantity to 0)

## Response `200`

Successful operation, no content returned.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden - Insufficient scope
- `404`: Product not found

---

[API](https://skmtc.dev/depop/apis/seller-api.md) - [All operations](https://skmtc.dev/depop/apis/seller-api/llms.txt) - [OpenAPI document](https://skmtc.dev/depop/apis/seller-api/revisions/56fef8e38e44?raw)
