Skip to main content
3 risposte
  1. 30 nov 2023, 17:58

    @Saurabh Kashyap, I suppose you could ease the overall architecture to only query once, and to get quantity (not available will be understandable when quantity = 0). Indeed you have to queue the calls (queuable apex). You should handle the error code in each call as you normally do testing the getStatusCode from the http send request's response.

     

    PS : A detail, I suppose you could be able to trigger on product required (instead of product consumed) but that does not change the logic of the integration :)

    Eric

0/9000