Hello ShipHero Community,
We’re trying to integrate ShipHero with our system. For the same we’re facing problems while consuming the Get Return endpoint /v1.2/general-api/returns/ API. We get 403 Forbidden in this request. We are passing token in x-api-key Header. We have also tried all the following requests by passing token in URL parameter, that didn’t work too.
We have also tried the following combinations :
- /v1.2/general-api/returns/1XXXXXX8
- /v1.2/general-api/returns/1XXXXXXX8?all_returns=1
- /v1.2/general-api/returns/1XXXXX8?order_number=%23XXXXX&all_returns=1
- /v1.2/general-api/returns/1XXXXXX8?partner_order_id=1XXXXXXXXX4&order_number=%23XXXXX&all_returns=1
- /v1.2/general-api/returns/1XXXXXX8?order_number=1XXXXXXXX4
- /v1.2/general-api/returns/?partner_order_id=1XXXXXXXXX4
- /v1.2/general-api/returns/?order_number=XXXXXXX
- /v1.2/general-api/returns/?order_number=%23XXXXX
The documentation clearly mentions
Instead of the ShipHero order id in the request, one of the parameters may be sent in instead.
but nothing works.
Appreciate your help.
Thanks