Custom Product Purchase Change Request

/custom-product/{id}/confirm-change

GET

Return purchase change request object

Request parameters

id string The UUID of purchase

JSON response

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/custom-product/{id}/confirm-change/" | python -m json.tool

POST

Change product purchase change request status

JSON request

id string The UUID of purchase
status string Purchase Change Request status provisioned/canceled

JSON response

Possible errors

Sample

curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "status": "canceled",
    }
' \
"{{api_base_url}}/custom-product/{id}/confirm-change/" | python -m json.tool