Updates a registered callback. It can take up to two minutes for callback changes to become active.
Name | Type | | Description |
---|
callbackName | string | Required | Name of the callback. |
callbackId | string | Required | Unique identifier of the callback. |
maxBatchSize | integer | | Must be at least 100 and no more than 1,000. Default is 1,000. |
Response | Reason |
---|
200 OK | Callback is updated. Review example response. |
201 Created | Callback is new. Response includes callbackId, callbackName, url, and maxBatchSize. |
304 No Change | Callback already exists on the server. |
400 Bad Request | Unable to process the request. |
403 Forbidden | Failed to pass authorization. |
404 Not Found | Callback ID doesn’t exist for this MID. |
500 Server Error | Internal error |