Skip to main content
PATCH
Update product-families

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: ^[!-~]+$

Path Parameters

resource_id
integer
required

Body

application/json
name
string

e.g., T-Shirts, Laptops

Maximum string length: 100
code
string

A unique code for this family, e.g., 'laptops'.

Maximum string length: 100
description
string | null
Maximum string length: 100000
parent
integer | null
Required range: x > 0

Response

OK

name
string
required

e.g., T-Shirts, Laptops

Maximum string length: 100
code
string
required

A unique code for this family, e.g., 'laptops'.

Maximum string length: 100
description
string | null
required
parent
integer | null
required
Required range: x > 0
id
integer
required