Key | Type | Optional | Description |
---|---|---|---|
$id | string | yes | path of this schema (auto-generated) |
$schema | string | yes | draft which this schema is compatible with (auto-generated) |
description | string | yes | description of this schema (auto-generated) |
type | string | yes | type of this schema (auto-generated) |
properties | object | no | description of how the resource type properties look like for each of the resource types and their attributes (and whether they are required) |
Status | Description |
---|---|
422 | Invalid parameters - see Invalid parameters errors model |
// see 'Resource type schema'
curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/operations/resource_types/schema' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
{}