Skip to content
ajar.Book a demo

Offer send

depop.offer.send

View connector

Send one offer for a Depop listing

POST /v1/operations/depop.offer.send

Headers

Authorization: Bearer YOUR_AJAR_API_KEY
x-depop-token: YOUR_DEPOP_TOKEN
x-idempotency-key: YOUR_UNIQUE_ATTEMPT_KEY
Content-Type: application/json

x-idempotency-key identifies one intended action. Generate a unique value, such as crypto.randomUUID(), before sending it. Use 1–128 letters, numbers, hyphens, underscores or periods. A duplicate attempt is rejected; it does not return a cached success. If a request times out, check the provider’s state before starting a new attempt with a new key. See the idempotency guide.

Sign in with a fresh Depop email link to receive a caller-held token. Send it in x-depop-token alongside your ajar API key.

Inputs

ParameterExample typeExample value
product_idstring"123456"
amountstring"15.00"
currencystring"GBP"

Example input

{
  "product_id": "123456",
  "amount": "15.00",
  "currency": "GBP"
}
Open JSON schema

Input schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "amount": {
      "pattern": "^[0-9]{1,7}(\\.[0-9]{2})?$",
      "type": "string"
    },
    "currency": {
      "enum": [
        "GBP"
      ],
      "type": "string"
    },
    "product_id": {
      "maxLength": 30,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "product_id",
    "amount",
    "currency"
  ],
  "type": "object"
}