Best answer

Grab output from location header

  • 21 July 2020
  • 1 reply
  • 650 views

I working on a Zapier connector that should add custommers and inovices to an ERP-system.

It works fine, but to get to the next step where I can create invoices for a newly created cusomer, I need customerID in output from customer creation. 

The API docs says:
On successful POSTs/PUTs/PATCHs and DELETEs an empty body is returned. For successful POSTs/PUTs/PATCHs a Location header is given in all cases.

From postman I read this header in return. It is the number in the circle I need to grab and use in further steps in Zapier.

I’m stucked. Any suggestion how to do that?

 

 

 

icon

Best answer by steph.n 23 July 2020, 02:22

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +8

@kjonix - Thanks for reaching out to us! To better help with this developer question, we request you contact Zapier Support directly. It helps our team capture essential information from your account and Zap so that we may quickly investigate this issue. Please use this form here to contact our team: zpr.io/t4NNK