Skip to main content
POST
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Path Parameters

product_id
string
required

Body

application/json
custom_field_definition_id
string
required

Prefixed cfdef_… id

value
any
required

Value matching the definition's field_type

Response

custom field created