Skip to main content
POST
Utwórz token workspace (pokazywany raz)

Autoryzacje

Authorization
string
header
wymagane

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametry ścieżki

shopId
string
wymagane

ID sklepu (ObjectId)

Treść

application/json
name
string
wymagane

Nazwa tokenu

Required string length: 1 - 100
Przykład:

"Claude Code — laptop"

scopes
enum<string>[]
wymagane
Minimum array length: 1
Dostępne opcje:
site:read,
site:write,
catalog:read,
catalog:write,
orders:read,
discounts:write,
stats:read
Przykład:
expiresAt
string

Wygaśnięcie (ISO 8601)

Odpowiedź

OK

success
boolean
Przykład:

true

data
object
message
string