post https://{OrangeLogicURL}/API/DataTable/v2.2/Documents..:AssignLeadDocument?
You can use the AssignLeadDocument
action to create a Stack by assigning one or more assets as Alternatives to one Lead Asset. When the call identifies an asset that is already the lead in a Stack, the Alternatives listed in your call are added to the existing Stack.
This call can also use the GET method.
Response
The example call identifies the asset with the Unique ID of ZZ15YU as the lead asset. The assets with the Unique IDs ZZ15YT, ZZ15YS, and ZZ15YR are assigned to its Stack.