Skip to content

updateAnonymizeAfterDate - Update anonymization date for orders

Request

Description

Updates the anonymization date for orders in the Mirakl Connect platform. Use this API to indicated after which date orders should be anonymized by Connect. The anonymization process is irreversible and should be used with caution.

Call Frequency
Maximum usage: Every time the anonymization date needs to be changed
Security
Bearer(Required scopes:
connect-channel-platform:order:u...
)
Bodyapplication/jsonrequired

The new anonymize_after date for the orders

ordersArray of objects, [ 1 .. 100 ] itemsrequired
curl -i -X PUT \
  https://miraklconnect.com/api/channel-platform/v1/orders/anonymize-after \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "orders": [
      {
        "channel_order_id": "COMMERCIAL_ID-A",
        "channel_id": 1234,
        "channel_store_id": "2005",
        "sub_channel_code": "string",
        "anonymize_after": "2023-10-01T00:00:00Z"
      }
    ]
  }'

Responses

Successfully updated the anonymize_after date for all orders of the request. No additional content is provided.

Response
No content