Skip to content
ajar.Book a demo

Shipping address add

depop.shipping_address.add

View connector

Add a GB shipping address to a Depop account

POST /v1/operations/depop.shipping_address.add

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
line_1string"Flat 1"
line_2string"1 Example Street"
citystring"London"
provincestring"London"
postal_codestring"SW1A 1AA"
country_namestring"GB"
namestring"Example Person"
telephonestring"07000000000"
emailstring"person@example.invalid"

Example input

{
  "line_1": "Flat 1",
  "line_2": "1 Example Street",
  "city": "London",
  "province": "London",
  "postal_code": "SW1A 1AA",
  "country_name": "GB",
  "name": "Example Person",
  "telephone": "07000000000",
  "email": "person@example.invalid"
}
Open JSON schema

Input schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "city": {
      "maxLength": 120,
      "minLength": 1,
      "type": "string"
    },
    "country_name": {
      "enum": [
        "GB"
      ],
      "type": "string"
    },
    "email": {
      "maxLength": 254,
      "minLength": 3,
      "type": "string"
    },
    "line_1": {
      "maxLength": 120,
      "minLength": 1,
      "type": "string"
    },
    "line_2": {
      "maxLength": 120,
      "type": "string"
    },
    "name": {
      "maxLength": 120,
      "minLength": 1,
      "type": "string"
    },
    "postal_code": {
      "maxLength": 10,
      "minLength": 5,
      "type": "string"
    },
    "province": {
      "maxLength": 120,
      "type": "string"
    },
    "telephone": {
      "maxLength": 20,
      "minLength": 10,
      "type": "string"
    }
  },
  "required": [
    "line_1",
    "line_2",
    "city",
    "province",
    "postal_code",
    "country_name",
    "name",
    "telephone",
    "email"
  ],
  "type": "object"
}