1a. Register
channelLocationId IS the OrderLemon shop_id. Mapping is stored as JSON in shop_settings.reference = 'deliverect.external.location.id'. The same active channelLinkId/locationId cannot belong
POST
/v1/webhooks/deliverect
Headers
Content-Type
Required
|
string |
Example: application/json
|
Body parameters
type
|
string |
Example: channel_registration
|
status
|
string |
Example: register
|
channelLocationId
|
string |
Example: {{deliverect_shop_id}}
|
channelLinkId
|
string |
Example: {{deliverect_channel_link_id}}
|
locationId
|
string |
Example: {{deliverect_location_id}}
|
channelLinkName
|
string |
Example: Order Lemon
|
channelLocationId IS the OrderLemon shop_id. Mapping is stored as JSON in shop_settings.reference = 'deliverect.external.location.id'. The same active channelLinkId/locationId cannot belong to two shops – a conflict returns a mapping error instead of overwriting.