Skip to main content
POST
Create dictionary-entries

Authorizations

Authorization
string
header
required

Use a project API key from Settings > API Access. Send it as Authorization: Bearer wpk_.... See authentication and scopes for setup and permissions.

Headers

Idempotency-Key
string

Reuse this key for retries of the same write. Scoped to this API key; retained until key deletion. Different requests with the same key return 409.

Required string length: 1 - 128
Pattern: ^[!-~]+$

Body

application/json
source_term
string
required
Maximum string length: 255
do_not_translate
boolean
translations
Translations · object

Mapping of locale code → translated term. Empty when do_not_translate=True.

context
string
Maximum string length: 100000
categories
integer[]

If set, the entry only applies to products in any of these categories. Empty = applies to every product.

Maximum array length: 500

Response

Created

source_term
string
required
Maximum string length: 255
do_not_translate
boolean
required
translations
any
required

Mapping of locale code → translated term. Empty when do_not_translate=True.

context
string
required
categories
integer[]
required

If set, the entry only applies to products in any of these categories. Empty = applies to every product.

id
integer
required