depop.shipping_address.add
View connectorAdd a GB shipping address to a Depop account
POST /v1/operations/depop.shipping_address.addHeaders
Authorization: Bearer YOUR_AJAR_API_KEY
x-depop-token: YOUR_DEPOP_TOKEN
x-idempotency-key: YOUR_UNIQUE_ATTEMPT_KEY
Content-Type: application/jsonx-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
| Parameter | Example type | Example value |
|---|---|---|
| line_1 | string | "Flat 1" |
| line_2 | string | "1 Example Street" |
| city | string | "London" |
| province | string | "London" |
| postal_code | string | "SW1A 1AA" |
| country_name | string | "GB" |
| name | string | "Example Person" |
| telephone | string | "07000000000" |
| string | "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"
}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"
}