Objective: Turns on and off triggers used for callback / webhook
JSON Composition for sending:
{
*"auth" : key obtained in get/auth method
,"map" :
[
{
"trigger" : trigger name
,"url" : destination URL (multiple URLs separated by semicolon)
,"httpcode" : successful http code
,"onoff" : trigger on or off (off = delete)
}
]
}
Valid Triggers:
OUTBOUND
RECUSADO - refused by recipient
AGUARDANDO NOTA - waiting for invoice
AGUARDANDO WMS - waiting for wms transfer
AGUARDANDO PICKING - picked, ready for checkout
CHECKOUT - checkout performed at DC, ready for collection
EM TRANSITO - in transit
ENTREGUE - delivered
CANCELADO - cancelled
INBOUND
EM PROCESSAMENTO - inbound processing started
REJEITADA - invoice rejected
INTERNALIZADA - internalization completed