Parameter | Type | Description |
---|---|---|
id | integer | Resource ID |
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 |
---|---|
404 | Resource not found |
422 | Invalid parameters - see Invalid parameters errors model |
{
"resource": {} // Resource - see 'Resource model'
}
curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/users/me/operations/resources/1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Store-Id;'
{}