Standalone Coverage in REST API
Summary:
The SOAP API OrderImportService allows to create sales order with just standalone coverage item line. Order is successfully created, the payload doesn’t have any tags for ‘DocumentReferenceType’ as “SOURCE_COVERAGE_COVERED_ASSOC”. From UI, you can observe that sales order doesn't have any details in “Covers: - Line” section.
If salesOrdersForOrderHub REST API is used to create standalone coverage, it throws an error. The ‘coveredProductReferences’ section is not mentioned in payload
Error : "The coverage line is not valid. Make sure it references an order line that includes a covered item."
Tried again by including ‘coveredProductReferences’ section with null values, it throws a different error.
Tagged:
0