| Key | Type | Description |
|---|---|---|
| resource.resource_type | string | name of the resource type the resource will be associated to |
| resource.name | string | name of the resource |
| resource.marketing_usable | boolean | whether the resource will be allowed to be used for marketing purposes |
| resource.properties | object | custom attributes of the resource |
| Key | Type | Description |
|---|---|---|
| resource | Resource | See: Resource model |
| Status | Description |
|---|---|
422 | Invalid parameters - see Invalid parameters errors model |
{
"resource": {} // Resource - see: 'Resource model'
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/users/me/operations/resources' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Store-Id: ' \
--header 'Content-Type: application/json'{}