django - Aftership webhook tracking API -


i developing 1 e-commerce app project have track order status. use aftership webhook api. webhook provides tracking event updates our specified webhook url(defined in our server). read documentation dont know proper approach test api. , in documentation not defined. can tell or suggest me how can test or track updates.

to test aftership api, first, can follow api reference api key. , tracking order webhook, need post /trackings https://api.aftership.com/v4 beforehand body like(you can add optional parameter request body):

{"tracking": {"tracking_number": "<order tracking number>"} 

and can follow webhook documentation , add webhook url , configure types of updates want get. @ point, should able see tracking update http request coming webhook url. remember send callback request when there tracking status update.

also, can use other tracking apis status, update tracking or delete now.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -