POST /v1/catalog/course-products/{product_id}:retire
CommerceService_RetireCourseProduct
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
product_idpath · string · required
Request body
expected_versionstringproduct_idstring
cURL
curl --request POST 'https://pay.bytecome.com/v1/catalog/course-products/{product_id}:retire' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"expected_version": "<value>"
}'Response contract
200 · OK
amountstringcourse_idstringcourse_namestringcourse_sourcestringcurrencystringoffer_idstringproductobjectExpand fields
categorystringcodestringdescriptionstringidstringmetadata_jsonstringnamestringstatusstringversionstringVersion zero is the first valid optimistic-lock revision. Preserve it in JSON so clients can immediately update a newly created product.
sku_version_idstringsource_namestringsource_statusstringvalidity_daysinteger · int32
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.