---
title: "POST /requests/{id}/approve"
method: POST
path: "/requests/{id}/approve"
tags: ["Assets"]
---

# POST /requests/{id}/approve

`POST /requests/{id}/approve`

This method approves a request that is in `Pending` status. No further changes are
possible after it is moved to `Approved` status.<br><br>To use this method, you must provide
either a `template_id` or an `activation_tile`. Note that `activation_tile` will be deprecated
and `template_id` is the recommended way to handle texts, customizations, and localization of
templates directly in the CloudBlue Connect platform.<br><br>You can also set an
`effective_date` in ISO format, i.e. `2023-04-28 11:36:38.814429+00:00` to specify when the
request was approved. You can also adjust the next billing date of the subscription when
approving the request by providing `asset.billing.next_date`. Note that this is only required
in rare cases and you should check with your distributor if it is supported on their side.
CloudBlue Connect will stop generating automatic billing requests until this date.

## Path parameters

- `id` string, required

## Request body

- object
  - `template_id` string
  - `activation_tile` string
  - `effective_date` string
  - `asset` object
    - `billing` object
      - `next_date` string

## Response `200`

- object
  - `id` string
  - `type` 'purchase' | 'change' | 'suspend' | 'resume' | 'cancel'
  - `note` string
  - `reason` string
  - `created` string, datetime
  - `updated` string, datetime
  - `effective_date` string, datetime
  - `answered` boolean
  - `assignee` string
  - `activation_key` string
  - `marketplace` object
    - `id` string
    - `name` string
    - `icon` string
  - `status` 'draft' | 'tiers_setup' | 'pending' | 'inquiring' | 'approved' | 'failed'
  - `previous_approved_request` object
    - `id` string
  - `asset` object
    - `id` string
    - `status` 'active' | 'new' | 'processing' | 'rejected' | 'suspended' | 'terminated'
    - `external_id` string
    - `external_uid` string
    - `product` object
      - `id` string
      - `icon` string
      - `name` string
      - `status` 'draft' | 'published' | 'endofsale'
    - `connection` object
      - `id` string
      - `provider` object
        - `id` string
        - `name` string
      - `vendor` object
        - `id` string
        - `name` string
      - `type` 'preview' | 'test' | 'production'
      - `hub` object
        - `id` string
        - `name` string
    - `events` object
      - `created` object
        - `at` string, datetime
      - `updated` object
        - `at` string, datetime
    - `items` object[]
      - `id` string
      - `global_id` string
      - `mpn` string
      - `old_quantity` string
      - `quantity` string
      - `type` string
      - `display_name` string
      - `period` string
      - `item_type` string
    - `params` object[]
      - `id` string
      - `name` string
      - `type` string
      - `description` string
      - `value` string
      - `value_error` string
      - `structured_value` union
        - object
          - `address_line1` string, required
          - `address_line2` string
          - `city` string, required
          - `state` string, required
          - `postal_code` string, required
          - `country` string, required
        - object
          - `country_code` string, required
          - `area_code` string, required
          - `phone_number` string, required
          - `extension` string, required
      - `value_choices` string[]
      - `title` string
    - `tiers` object
      - `customer` object
        - `external_id` string
        - `external_uid` string
        - `name` string
        - `tax_id` string
        - `contact_info` object
          - `address_line1` string, required
          - `address_line2` string
          - `city` string, required
          - `state` string
          - `postal_code` string, required
          - `country` string, required
          - `contact` object, required
            - `first_name` string, required
            - `last_name` string, required
            - `email` string, email, required
            - `phone_number` object, required
              - …
      - `tier1` object
        - `external_id` string
        - `external_uid` string
        - `name` string
        - `tax_id` string
        - `contact_info` object
          - `address_line1` string, required
          - `address_line2` string
          - `city` string, required
          - `state` string
          - `postal_code` string, required
          - `country` string, required
          - `contact` object, required
            - `first_name` string, required
            - `last_name` string, required
            - `email` string, email, required
            - `phone_number` object, required
              - …
      - `tier2` object
        - `external_id` string
        - `external_uid` string
        - `name` string
        - `tax_id` string
        - `contact_info` object
          - `address_line1` string, required
          - `address_line2` string
          - `city` string, required
          - `state` string
          - `postal_code` string, required
          - `country` string, required
          - `contact` object, required
            - `first_name` string, required
            - `last_name` string, required
            - `email` string, email, required
            - `phone_number` object, required
              - …
    - `configuration` object
      - `params` object[]
        - `id` string
        - `title` string
        - `description` string
        - `value` string
        - `type` 'text' | 'dropdown' | 'password' | 'email' | 'checkbox' | 'subdomain' | 'domain' | 'phone' | 'url' | 'choice'
        - `scope` 'product' | 'item' | 'marketplace' | 'item_marketplace'
        - `phase` 'configuration'
        - `constraints` object
          - `required` boolean
          - `hidden` boolean
          - `readonly` boolean
          - `unique` boolean
          - `shared` 'view' | 'edit'
        - `events` object
          - `created` object
            - `at` string, datetime
            - `by` object
              - …
          - `updated` object
            - `at` string, datetime
            - `by` object
              - …
    - `marketplace` object
      - `id` string
      - `name` string
      - `icon` string
    - `contract` object
      - `id` string
      - `name` string

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
