All API Operations related with products & services
Last updated 8 months ago
Retrieves all the products and services
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.
GET /v1/product-services/{id} HTTP/1.1 Host: api.nuvio.io Authorization: YOUR_API_KEY Accept: */*
{ "success": true, "errors": [ "text" ], "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "code": "text", "name": "text", "taxes": [ { "taxId": "123e4567-e89b-12d3-a456-426614174000", "taxName": "text" } ] } }
Creates a new product or service
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" ] }
Updates an existing product or service
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" ] }