Products & Services
All API Operations related with products & services
READ Scope
Retrieves all the products and services
API Key Authentication
OK
GET /v1/product-services HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"errors": [
"text"
],
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"taxes": [
{
"taxId": "123e4567-e89b-12d3-a456-426614174000",
"taxName": "text"
}
]
}
]
}Retrieves a single product or service by its unique ID or user-generated product code.
API Key Authentication
OK
GET /v1/product-services/{id} HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"taxes": [
{
"taxId": "123e4567-e89b-12d3-a456-426614174000",
"taxName": "text"
}
]
}
}WRITE Scope
Creates a new product or service
API Key Authentication
A user-generated custom code for this product or service
Name of the product or service
A list of the default taxes to be added to when the product is selected in the Nuvio Platform. Provide a list of taxes with their 32-character unique ID.
OK
POST /v1/product-services HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"name": "text",
"productCode": "text",
"taxes": [
"123e4567-e89b-12d3-a456-426614174000"
]
}OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"taxes": [
{
"taxId": "123e4567-e89b-12d3-a456-426614174000",
"taxName": "text"
}
]
}
}UPDATE Scope
Updates an existing product or service
API Key Authentication
A user-generated custom code for this product or service
Name of the product or service
A list of the default taxes to be added to when the product is selected in the Nuvio Platform. Provide a list of taxes with their 32-character unique ID.
OK
PUT /v1/product-services/{id} HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"name": "text",
"productCode": "text",
"taxes": [
"123e4567-e89b-12d3-a456-426614174000"
]
}OK
{
"success": true,
"errors": [
"text"
],
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"taxes": [
{
"taxId": "123e4567-e89b-12d3-a456-426614174000",
"taxName": "text"
}
]
}
}Last updated