Use this endpoint to retrieve the information of all Products to which a user has access.
Headers
Name
Value
Authorization
Bearer <token>
Query parameters
Name
Type
Description
status
Array
An object containing information about the product status.
ledgerId
String (UUID)
Ledger's identification code.
Response codes
[ {"id":"aca9abcc-4dcd-454c-8ec1-b22df0e88795","ledgerId":"44d5e310-5caa-4d51-812f-2d56c1bbcacd","organizationId":"5f3a4c55-8b28-4276-bed7-f7c8a4bb44e8","name":"Standard","status": {"code":"001","description":"Ready to use" },"metadata": {"internalProductId":21 },"createdAt":"2024-01-29T00:12:00+0300","updatedAt":"2024-01-29T00:12:00+0300","deletedAt":null }, {"id":"9099ce3f-32bd-482f-9617-16c7809681aa","name":"Vip clients","ledgerId":"44d5e310-5caa-4d51-812f-2d56c1bbcacd","organizationId":"5f3a4c55-8b28-4276-bed7-f7c8a4bb44e8","status": {"code":"INACTIVE","description":"Deleted by @gabriel" },"metadata": {"internalProductId":99,"price":449.99 },"createdAt":"2024-02-08T16:59:31+0300","updatedAt":"2024-02-08T16:59:31+0300","deletedAt":null }]
{"code":"0017","title":"Invalid Script Error", "description": "The script provided in the request is invalid or in an unsupported format. Please verify the script and try again."
}
Use this endpoint to retrieve the information of a specific Product using the identifier (id).
Headers
Name
Value
Authorization
Bearer <token>
Response codes
{"id":"aca9abcc-4dcd-454c-8ec1-b22df0e88795","name":"Standard","ledgerId":"44d5e310-5caa-4d51-812f-2d56c1bbcacd","organizationId":"5f3a4c55-8b28-4276-bed7-f7c8a4bb44e8","status": {"code":"001","description":"Ready to use" },"metadata": {"internalProductId":21 },"createdAt":"2024-01-29T00:12:00+0300","updatedAt":"2024-01-29T00:12:00+0300","deletedAt":null}
{ }
{"code":"0017","title":"Invalid Script Error", "description": "The script provided in the request is invalid or in an unsupported format. Please verify the script and try again."
}
{"code":"0017","title":"Invalid Script Error", "description": "The script provided in the request is invalid or in an unsupported format. Please verify the script and try again."
}