PO distributions causing error when create through Draft Purchase Order API
I am trying to create a draft PO using DraftPurchaseOrder API. But it is giving an error that the structure isn't correct if I am passing a distribution payload to it. It creates a PO if I comment that part. Do we need any specific role for adding distributions through API?
Could you please suggest a way to create this PO with the distributions?
I have used content -type as "application/vnd.oracle.adf.action+json"
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):