Products & Services
All API Operations related with products & services
READ Scope
Retrieves all the products and services
Authorizations
Responses
200
OK
application/json
get
GET /v1/product-services HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
200
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.
Authorizations
Path parameters
idstringRequired
Responses
200
OK
application/json
get
GET /v1/product-services/{id} HTTP/1.1
Host: api.nuvio.io
Authorization: YOUR_API_KEY
Accept: */*
200
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
Authorizations
Body
all ofOptional
Responses
200
OK
application/json
post
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"
]
}
200
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
Authorizations
Path parameters
idstring · uuidRequired
Body
all ofOptional
Responses
200
OK
application/json
put
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"
]
}
200
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