Body Envelope

Every response is contained in an envelope which means each response has a predictable set of keys with which you can interact.

The meta key helps communicate extra information regarding a response to the developer.

codeNumberUp to a 5-digit code that represents the status of the request20000
typeStringshort string, which is the name of the returned HTTP statusOK
messageStringHuman-readable description of the specific meta codeThe request was successfully processed by AfterShip.
pathStringError path of the requestdata.product.title
infoStringHuman-readable description of the specific errorTitle is invalid