Stage fragment
This endpoint stages a fragment for outbound delivery.
You can optionally specify a mapping to transform the fragment to Stedi’s Guide JSON format. If you don’t specify a mapping, the fragment must match the Guide JSON format for the specified guide.
Fragments allow you to split large transactions into smaller chunks for easier processing. You can enable fragments for one repeated EDI segment in each transaction set and then split the transaction into chunks based on that segment. For example, if you enable fragments on the LIN
loop in an 846 Inventory Inquiry/Advice, you can stage fragments containing batches of LIN
loops. Later, when you call the Create Outbound Transaction endpoint, Stedi stitches the fragments together into a single transaction and delivers it to your trading partner.
Authorizations
A Stedi API Key for authentication.
Headers
A unique string to identify this request to the server. The key can be up to 255 characters. You can safely retry requests with the same idempotency key within 24 hours of making the first request. This prevents sending duplicate data to your trading partners in case of network errors or other intermittent failures. Learn more.
Path Parameters
A unique ID for a group of fragments on Stedi. Stedi creates a new fragment group if one does not exist with the specified ID.
Body
The ID of the Stedi guide for the outbound transaction setting. The guide must be configured to use fragments. You can find this ID on the Guides page in the Stedi app.
The fragment to stage for outbound delivery. Without a mapping, the fragment must be < 5MB and the shape must match the Guide JSON format for the specified guide. With a mapping, the fragment must be < 4MB and the shape must match the source schema of the specified mapping.
Specify a mapping id to transform the fragment to Stedi's Guide JSON format.
Response
The fragment group ID where you created and added the fragment.
The time Stedi created the fragment.
A unique ID for the fragment Stedi created within the fragment group.