Thanks for the pointer, i wasn't aware of this API. It makes very much sense now!
Rogers Communications Inc.
Original Message:
Sent: Jun 15, 2023 10:51
From: Derrick Evans
Subject: Cancel a Pending Product Order
Hello Keven
I am assuming this is a question about TMF 622 version 4.
My understanding of cancellation is that the task pattern is used for this and that there is a specific cancel product order resource for this purpose.
So you create a cancel product resource asking that a cancellation of an order be considered and if possible put into action.
The request looks like this.

------------------------------
Derrick Evans
BT Group plc
Original Message:
Sent: Jun 15, 2023 10:33
From: Keven Chan
Subject: Cancel a Pending Product Order
Hi,
There is an use case to cancel a pending product order (a device is pending to ship, or order still in processing state). My understanding is we should use POST /productOrder to create a Product Order on this cancel action.
Is there any suggestion on the cancel order payload?
My first stab is below, is it a correct approach?
{<o:p></o:p>
"requestedStartDate": "2023-06-15T13:27:03.074Z",<o:p></o:p>
"billingAccount": {<o:p></o:p>
"id": "string",<o:p></o:p>
},<o:p></o:p>
"productOrderItem": [<o:p></o:p>
{<o:p></o:p>
"quantity": 1,<o:p></o:p>
"action": "cancel", <o:p></o:p>
"productOrderItemRelationship": [<o:p></o:p>
{<o:p></o:p>
"id": "<order id to be chancel>",<o:p></o:p>
"relationshipType": "targets",<o:p></o:p>
}<o:p></o:p>
] <o:p></o:p>
}<o:p></o:p>
]<o:p></o:p>
<o:p></o:p>
}<o:p></o:p>
------------------------------
Keven Chan
Rogers Communications Inc.
------------------------------