Skip to content

Commit e1a70d0

Browse files
[create-pull-request] automated change (#1085)
Co-authored-by: rglanz-rc <[email protected]>
1 parent 630a907 commit e1a70d0

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed

openapi-spec/api-v2-beta.yaml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,119 @@ paths:
14711471
$ref: '#/components/responses/InternalError'
14721472
description: 'This endpoint requires the following permission(s): <code>customer_information:customers:read_write</code>,
14731473
<code>customer_information:subscriptions:read_write</code>, <code>customer_information:purchases:read_write</code>.'
1474+
/projects/{project_id}/customers/blocked_customers/{customer_id}:
1475+
post:
1476+
summary: Add a customer to the block list
1477+
operationId: block-customer
1478+
x-revenuecat-rate-limiting-domain: customer_information
1479+
x-scopes:
1480+
- customer_information:customers:read_write
1481+
x-release-status: beta
1482+
tags:
1483+
- Customer
1484+
parameters:
1485+
- name: project_id
1486+
description: ID of the project
1487+
required: true
1488+
in: path
1489+
schema:
1490+
type: string
1491+
maxLength: 255
1492+
example: proj1ab2c3d4
1493+
- name: customer_id
1494+
in: path
1495+
description: ID of the customer
1496+
required: true
1497+
schema:
1498+
type: string
1499+
minLength: 1
1500+
maxLength: 1500
1501+
example: 19b8de26-77c1-49f1-aa18-019a391603e2
1502+
responses:
1503+
'200':
1504+
description: Success
1505+
headers:
1506+
RevenueCat-Rate-Limit-Current-Usage:
1507+
$ref: '#/components/headers/RateLimitCurrentUsage'
1508+
RevenueCat-Rate-Limit-Current-Limit:
1509+
$ref: '#/components/headers/RateLimitCurrentLimit'
1510+
'400':
1511+
$ref: '#/components/responses/BadRequest'
1512+
'401':
1513+
$ref: '#/components/responses/Unauthorized'
1514+
'403':
1515+
$ref: '#/components/responses/Forbidden'
1516+
'404':
1517+
$ref: '#/components/responses/NotFound'
1518+
'409':
1519+
$ref: '#/components/responses/Conflict'
1520+
'422':
1521+
$ref: '#/components/responses/UnprocessableEntity'
1522+
'423':
1523+
$ref: '#/components/responses/Locked'
1524+
'429':
1525+
$ref: '#/components/responses/RateLimited'
1526+
'500':
1527+
$ref: '#/components/responses/InternalError'
1528+
'503':
1529+
$ref: '#/components/responses/InternalError'
1530+
description: 'This endpoint requires the following permission(s): <code>customer_information:customers:read_write</code>.'
1531+
delete:
1532+
summary: Remove a customer from the block list
1533+
operationId: unblock-customer
1534+
x-revenuecat-rate-limiting-domain: customer_information
1535+
x-scopes:
1536+
- customer_information:customers:read_write
1537+
x-release-status: beta
1538+
tags:
1539+
- Customer
1540+
parameters:
1541+
- name: project_id
1542+
description: ID of the project
1543+
required: true
1544+
in: path
1545+
schema:
1546+
type: string
1547+
maxLength: 255
1548+
example: proj1ab2c3d4
1549+
- name: customer_id
1550+
in: path
1551+
description: ID of the customer
1552+
required: true
1553+
schema:
1554+
type: string
1555+
minLength: 1
1556+
maxLength: 1500
1557+
example: 19b8de26-77c1-49f1-aa18-019a391603e2
1558+
responses:
1559+
'204':
1560+
description: Success
1561+
headers:
1562+
RevenueCat-Rate-Limit-Current-Usage:
1563+
$ref: '#/components/headers/RateLimitCurrentUsage'
1564+
RevenueCat-Rate-Limit-Current-Limit:
1565+
$ref: '#/components/headers/RateLimitCurrentLimit'
1566+
'400':
1567+
$ref: '#/components/responses/BadRequest'
1568+
'401':
1569+
$ref: '#/components/responses/Unauthorized'
1570+
'403':
1571+
$ref: '#/components/responses/Forbidden'
1572+
'404':
1573+
$ref: '#/components/responses/NotFound'
1574+
'409':
1575+
$ref: '#/components/responses/Conflict'
1576+
'422':
1577+
$ref: '#/components/responses/UnprocessableEntity'
1578+
'423':
1579+
$ref: '#/components/responses/Locked'
1580+
'429':
1581+
$ref: '#/components/responses/RateLimited'
1582+
'500':
1583+
$ref: '#/components/responses/InternalError'
1584+
'503':
1585+
$ref: '#/components/responses/InternalError'
1586+
description: 'This endpoint requires the following permission(s): <code>customer_information:customers:read_write</code>.'
14741587
/projects/{project_id}/products/{product_id}:
14751588
get:
14761589
summary: Get a product

0 commit comments

Comments
 (0)