Retrieve an event callback

GET https://{{subdomain}}.commercelayer.io/api/event_callbacks/{{event_callback_id}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"data":{"id":"xYZkjABcde","type":"event_callbacks","links":{"self":"https://yourdomain.commercelayer.io/api/event_callbacks/xYZkjABcde"},"attributes":{"callback_url":"https://yourapp.com/webhooks","payload":{"data":{"attributes":{"id":"PYWehaoXJj","type":"orders"}}},"response_code":"200","response_message":"OK","created_at":"2018-01-01T12:00:00.000Z","updated_at":"2018-01-01T12:00:00.000Z","reference":"ANY-EXTERNAL-REFEFERNCE","reference_origin":"ANY-EXTERNAL-REFEFERNCE-ORIGIN","metadata":{"foo":"bar"}},"relationships":{"webhook":{"links":{"self":"https://yourdomain.commercelayer.io/api/event_callbacks/xYZkjABcde/relationships/webhook","related":"https://yourdomain.commercelayer.io/api/event_callbacks/xYZkjABcde/webhook"}}},"meta":{"mode":"test"}}}