Get a Transaction Message
Changed onRedirects to a download URL for the Transaction's message content. Most HTTP clients follow the 302 redirect automatically, so a plain GET returns the content directly.
What downloads depends on how the Transaction is backed: Relationships that trade JSON return the JSON document, while X12 and EDIFACT Relationships return the EDI file. As the sender you read back the content you posted; as the receiver you get the message as it is delivered to you.
The download URL is short-lived — it expires 5 minutes after it is issued. Follow it right away rather than storing it, and request this endpoint again whenever you need a fresh one.
Request
- Base URLhttps://api.orderful.com
- AuthAPI key in header orderful-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Transaction UUID, taken from the id field of a listed Transaction or an inbound delivery. Must be a UUID — numeric transaction IDs are not accepted on this endpoint.
Headers
Your Orderful API key.
Specifies the API version to use. This endpoint requires v4; omitting the header returns 404.
Changes
- info
endpoint added
- info