Products - By Product ID

Patch an existing product by product ID

This endpoint allows you to patch an ON SALE product's fields on Depop using its internal product ID. If you want to restock a product, call the PUT endpoint with the same product ID 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

patch/api/v1/products/by-product-id/{productId}/

Request

Path parameters

productIdinteger required

The internal product ID of the product to patch.

Request body

price_amountstring

The price of the item. Must be at least $1.00 or £1.00. Up to 2 decimal places.

discount_pricestring

The discount price of the item. Must be less than the price_amount. Up to 2 decimal places.

auto_send_offer_pricestring

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_pricestring

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.

quantitynumber

The quantity of the product available for sale. Must be at least 1. (Use the marked as sold endpoint to reduce quantity to 0)

Example request

{
  "price_amount": "50.99",
  "discount_price": "48.00",
  "auto_send_offer_price": "45.00",
  "auto_negotiate_offer_price": "45.00",
  "quantity": 1
}

Response

Successful operation, no content returned.

Changes

No recorded changes to this operation across all 1 revision of this API.