v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
ops

create seller_oauth

Create a new OAuth client for a seller

post/ops/sellers/{id}/oauth

Path parameters

idstring regexp required

Seller ID

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Seller ID

Request body

mode'live' | 'sandbox' required

API mode for the client

namestring

OAuth client name (optional, auto-generated if not provided)

Example request

{
  "mode": "live",
  "name": "Production API Access"
}

Response

Created response.

client_idstring required

OAuth client ID

client_secretstring required

OAuth client secret - ONLY returned on creation, store securely

namestring required

OAuth client name

seller_idstring regexp required

Seller ID

Example response

{
  "client_id": "abc123",
  "client_secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "name": "abc123",
  "seller_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
}