period or currency), a new record is created.| Key | Type | Description |
|---|---|---|
| **policy.period | string | no |
| **policy.closing_day | integer | no |
| **policy.currency | string | yes |
| **policy.excluded_store_ids | array[int] | yes |
| Key | Type | Description |
|---|---|---|
| policy | Policy | See: Policy model |
| Status | Description |
|---|---|
404 | Policy not found |
422 | Invalid parameters - see Invalid parameters errors model |
{
"policy": {} // Policy - see 'Revenue reporting policy model'
}curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/operations/revenue_reporting/policy' \
--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-Client-Authorization: ' \
--header 'Content-Type: application/json'{}