Update lifecycle status
PATCH /api/v1/orders/{orderId}
PATCH /api/v1/subscriptions/{subscriptionId}
PATCH /api/v1/services/{serviceId}
PATCH /api/v1/deliverables/{deliverableItemId}
Patch only the fields accepted by the resource schema. Typical downstream updates set platform status, an implementation-specific subStatus, externalRef, and metadata.
{
"status": "ACTIVE",
"subStatus": "PROVISIONING_COMPLETE",
"externalRef": "SOM-SVC-88421",
"metadata": {
"somTaskId": "TASK-10992"
}
}
status uses the enum declared for that resource in the API reference. subStatus stores an implementation-specific value, and metadata stores extension-owned context. Do not put secrets in metadata.
No-op patches do not emit changed events. Invalid platform transitions return a domain error rather than silently accepting an impossible state.