V2
Commitments
Commitments resource represents a customer commitment linked to a promotion or device
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| deviceId | path | string(uuid) | true | Device unique identifier |
| commitmentId | path | string(uuid) | true | Commitment unique identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Commitment found | Commitment |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A commitment with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| promotionId | path | string(uuid) | true | Promotion unique identifier |
| commitmentId | path | string(uuid) | true | Commitment unique identifier |
| body | body | OperationsSet | true | Array of operations to apply to the commitment |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | [Operation] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Promotion commitment patched successfully | Commitment |
| 400 | Bad Request | Bad request | ErrorResponse |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A commitment with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| deviceId | path | string(uuid) | true | Device unique identifier |
| commitmentId | path | string(uuid) | true | Commitment unique identifier |
| body | body | OperationsSet | true | Array of operations to apply to the commitment |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | [Operation] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Device commitment patched successfully | Commitment |
| 400 | Bad Request | Bad request | ErrorResponse |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A commitment with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Endpoints
Subscriptions
Bundles
Promotions
Devices
AddOns
Amazon Prime
Max
Mobile
Broadband
Landline
Orange TV
Orange TV Libre
Disney
Netflix
Credit Limits
Change Requests
Commitments
DeviceInsurance
Multisim
Payment Plans
Operations