curl --location --request PUT 'https://api.storyous.com/merchants//agreement' \
--header 'x-api-router-secret: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantId": "string",
"stateIntervals": [
{
"since": "2025-10-27T10:05:00Z",
"state": 0
}
],
"firstInvoicingPeriodDate": 0,
"firstInvoicingPeriodSince": "string",
"trialInDays": 0,
"isTesting": false
}'{
"status": "OK"
}