Creates a product.
Request body
Example request
{
"code": "PROD_001",
"description": "Premium subscription service"
}Response
Success
Example response
{
"data": {
"id": "product_1234567890",
"workspace_id": "ws_1234567890",
"code": "PROD_001",
"description": "Premium subscription service",
"update_version": 1,
"created": "2024-01-13T00:00:00Z"
}
}Changes
Changed in 7 of the 38 revisions of this API.9317
- ▲
removed the required property
data/paid_by_rolesfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
data/paid_to_rolesfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
paid_by_rolesrequest-property-removed
- ●
removed the request property
paid_to_rolesrequest-property-removed
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
subschema #1subschema #2from thepaid_by_roles/items/request propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from thepaid_to_roles/items/request propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #1subschema #2to thepaid_by_roles/items/request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #1subschema #2to thepaid_to_roles/items/request propertyanyOflistrequest-property-any-of-added
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
data/updateVersionfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
data/workspaceIdfrom the response with the201statusresponse-required-property-removed
- ▲
- ▲
the response property
data/descriptionbecame optional for the status201response-property-became-optional
- ○
the request property
descriptionbecame optionalrequest-property-became-optional
- ○
response property
data/updateVersiondeprecatedresponse-property-deprecated
- ○
response property
data/workspaceIddeprecatedresponse-property-deprecated
- ○
added the required property
data/update_versionto the response with the201statusresponse-required-property-added
- ○
added the required property
data/workspace_idto the response with the201statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
data/sellerfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
sellerrequest-property-removed
- ○
added the new optional request property
paid_by_rolesnew-optional-request-property
- ○
added the new optional request property
paid_to_rolesnew-optional-request-property
- ○
added the required property
data/idto the response with the201statusresponse-required-property-added
- ○
added the required property
data/paid_by_rolesto the response with the201statusresponse-required-property-added
- ○
added the required property
data/paid_to_rolesto the response with the201statusresponse-required-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
CounterpartySellerfrom thesellerrequest propertyanyOflistrequest-property-any-of-removed
- ○
added
UserSellerto thesellerrequest propertyanyOflistrequest-property-any-of-added
- ○
added
UserSellerto thedata/sellerresponse propertyanyOflist for the response status201response-property-any-of-added
- ○
removed
CounterpartySellerfrom thedata/sellerresponse propertyanyOflist for the response status201response-property-any-of-removed
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the endpoint scheme security
oauth2was added to the APIapi-security-added
- ○
the endpoint scheme security
Bearerwas removed from the APIapi-security-removed
- ○