---
title: "Trigger a purchase of a product (for testing)"
method: POST
path: "/api/v1/products/{sku}/purchase/"
tags: ["Products - Legacy (Deprecated)"]
deprecated: true
---

# Trigger a purchase of a product (for testing)

`POST /api/v1/products/{sku}/purchase/`

## Request

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

> **Deprecated.**

This endpoint allows you to trigger a purchase of a product on Depop. This is useful if you want to test the purchase flow.
The product will be sold to a test user and the purchase will be visible in your orders. You will also receive a webhook for the purchase.
This endpoint is only available in the staging environment.
**Deprecated**: Use `/api/v1/products/by-sku/{sku}/purchase/` instead.

## Path parameters

- `sku` string, required

## Response `200`

Successful operation, no content returned.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `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)
