• 0
Sign in to follow this  
AndreCalistro

Api de reclamação sem id do pedido

Question

Bom dia, gerenciando as reclamações via API, quando busco uma reclamação os dados que retornam, frequentemente, nao vem o id do pedido, ao inves disso vem id de shipment ou payment.

Como faço para obter o id do pedido quando vier um desses 2 ids?

Ele vem assim:

{
    "resource_id": 123123123,
    "resource": "shipment",
}

Ou assim:
 

{
    "resource_id": 123123123,
    "resource": "payment",
}

mas preciso que venha assim ou outro endpoint para encontrar o id do pedido:
 

{
    "resource_id": 123123123,
    "resource": "order",
}

Obrigado!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this