|
15550 | 15550 | "method_type": "create", |
15551 | 15551 | "operation": "post", |
15552 | 15552 | "path": "/v1/entitlements/features" |
| 15553 | + }, |
| 15554 | + { |
| 15555 | + "method_name": "update", |
| 15556 | + "method_on": "service", |
| 15557 | + "method_type": "update", |
| 15558 | + "operation": "post", |
| 15559 | + "path": "/v1/entitlements/features/{id}" |
15553 | 15560 | } |
15554 | 15561 | ], |
15555 | 15562 | "x-stripeResource": { |
|
96819 | 96826 | } |
96820 | 96827 | } |
96821 | 96828 | }, |
| 96829 | + "/v1/entitlements/features/{id}": { |
| 96830 | + "post": { |
| 96831 | + "description": "<p>Update a feature’s metadata or permanently deactivate it.</p>", |
| 96832 | + "operationId": "PostEntitlementsFeaturesId", |
| 96833 | + "parameters": [ |
| 96834 | + { |
| 96835 | + "in": "path", |
| 96836 | + "name": "id", |
| 96837 | + "required": true, |
| 96838 | + "schema": { |
| 96839 | + "maxLength": 5000, |
| 96840 | + "type": "string" |
| 96841 | + }, |
| 96842 | + "style": "simple" |
| 96843 | + } |
| 96844 | + ], |
| 96845 | + "requestBody": { |
| 96846 | + "content": { |
| 96847 | + "application/x-www-form-urlencoded": { |
| 96848 | + "encoding": { |
| 96849 | + "expand": { |
| 96850 | + "explode": true, |
| 96851 | + "style": "deepObject" |
| 96852 | + }, |
| 96853 | + "metadata": { |
| 96854 | + "explode": true, |
| 96855 | + "style": "deepObject" |
| 96856 | + } |
| 96857 | + }, |
| 96858 | + "schema": { |
| 96859 | + "additionalProperties": false, |
| 96860 | + "properties": { |
| 96861 | + "active": { |
| 96862 | + "description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.", |
| 96863 | + "type": "boolean" |
| 96864 | + }, |
| 96865 | + "expand": { |
| 96866 | + "description": "Specifies which fields in the response should be expanded.", |
| 96867 | + "items": { |
| 96868 | + "maxLength": 5000, |
| 96869 | + "type": "string" |
| 96870 | + }, |
| 96871 | + "type": "array" |
| 96872 | + }, |
| 96873 | + "metadata": { |
| 96874 | + "additionalProperties": { |
| 96875 | + "type": "string" |
| 96876 | + }, |
| 96877 | + "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.", |
| 96878 | + "type": "object" |
| 96879 | + }, |
| 96880 | + "name": { |
| 96881 | + "description": "The feature's name, for your own purpose, not meant to be displayable to the customer.", |
| 96882 | + "maxLength": 80, |
| 96883 | + "type": "string" |
| 96884 | + } |
| 96885 | + }, |
| 96886 | + "type": "object" |
| 96887 | + } |
| 96888 | + } |
| 96889 | + }, |
| 96890 | + "required": false |
| 96891 | + }, |
| 96892 | + "responses": { |
| 96893 | + "200": { |
| 96894 | + "content": { |
| 96895 | + "application/json": { |
| 96896 | + "schema": { |
| 96897 | + "$ref": "#/components/schemas/entitlements.feature" |
| 96898 | + } |
| 96899 | + } |
| 96900 | + }, |
| 96901 | + "description": "Successful response." |
| 96902 | + }, |
| 96903 | + "default": { |
| 96904 | + "content": { |
| 96905 | + "application/json": { |
| 96906 | + "schema": { |
| 96907 | + "$ref": "#/components/schemas/error" |
| 96908 | + } |
| 96909 | + } |
| 96910 | + }, |
| 96911 | + "description": "Error response." |
| 96912 | + } |
| 96913 | + } |
| 96914 | + } |
| 96915 | + }, |
96822 | 96916 | "/v1/ephemeral_keys": { |
96823 | 96917 | "post": { |
96824 | 96918 | "description": "<p>Creates a short-lived API key for a given resource.</p>", |
|
0 commit comments