Usage Reporting

POST /products/{product_pk}/usage/rules

Changed on

Request

  • Base URL
    https://api.connect.cloudblue.com/public/v1
  • Auth
    API key in header Authorization

Path parameters

product_pkstring required

Request body

actionstring
rulestring
statusstring

Response

idstring
action'accept' | 'reject' | 'manual'
scopestring
rulestring nullable
status'active' | 'deleted'
item_idstring
item_namestring
product_idstring
account_idstring
created_bystring
updated_bystring

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the media type application/json for the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional write-only property account_id to the response with the status

    • info

      added the optional write-only property created_by to the response with the status

    • info

      added the optional write-only property item_id to the response with the status

    • info

      added the optional write-only property item_name to the response with the status

    • info

      added the optional write-only property product_id to the response with the status

    • info

      added the optional write-only property updated_by to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the media type application/json for the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      removed the optional write-only property account_id from the response with the status

    • info

      removed the optional write-only property created_by from the response with the status

    • info

      removed the optional write-only property item_id from the response with the status

    • info

      removed the optional write-only property item_name from the response with the status

    • info

      removed the optional write-only property product_id from the response with the status

    • info

      removed the optional write-only property updated_by from the response with the status