Manage your Stock Regularizations
Prana API (1.0)
API Prana
Welcome !!! In our developer portal you will find everything you need to interact with our platform.
Our API works with the REST interface through the HTTPS protocol and using the JSON format for processing calls.
All requests are validated against an API Key that can be obtained manually from the Configuration section of the PRANA app.
Our goal is to offer the clearest possible documentation here.
Any suggestions can be sent to: info@prana.software
API Key
To use your API key, you need only call the api with your key in the header as follow:
X-Api-Key
- https://api.prana.software/api/v1/supplier/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.prana.software/api/v1/supplier/{id}'OK
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer information if supplier is also a customer.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "id": 1, "code": 20001, "cif": "B87654321", "commercialName": "Supplier Corp", "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "name": "Supplier Corporation S.L.", "address": "Calle Mayor, 10", "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "postalCode": 28001, "city": "Madrid", "phone1": "+34911222333", "phone2": "+34911444555", "replacementTime": 7, "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "manufacturer": false, "importer": true, "active": true, "notCreateOrder": false, "observation": "Premium supplier with fast delivery", "geographicalLocation": "NATIONAL", "creationDate": "2021-03-15", "inactiveDate": "2024-10-01", "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "customer": { "id": 10001, "code": 10001, "name": "Acme S.A.", "commercialName": "Acme España", "cif": "B12345678", "address": "Av. de la Estación, 5", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "postalCode": "03001", "countryDescription": "Spain", "stateDescription": "Alicante", "email": "info@acme.es", "city": "Alicante", "activity": "Wholesale Trade", "brand": "Acme", "brandId": 100, "creationDate": "2020-01-01", "isActive": true, "inactiveDate": "2023-08-07", "paymentMethodId": 1, "paymentMethod": "Bank Transfer", "paymentMethodServeFullPrePaid": false, "rateCode": "RATE-001", "account": "ES9820385778983000760236", "vatDescription": "General", "discount1": 5, "currencyCode": "EUR", "currencyDescription": "Euro", "modifiedOn": "2024-08-07T12:30:00", "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "tags": [ … ] }, "operator": { "id": 1, "code": 0, "name": "string" }, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "email": "contact@suppliercorp.com", "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "terms": 3, "daysFirstTerm": 30, "daysBetweenTerms": 30, "discount1": 3.5, "discount2": 2, "discountPp": 1.5, "proximityType": "NEARBY", "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "paymentMethodObservation": { "id": 1, "code": "string", "type": "CLASSIFICATION", "description": "string", "blockOrder": true }, "paymentMethodObservationDescription": "Bank transfer preferred", "account": "ES7921000813610123456789", "swift": "BBVAESMM", "bic": "BBVAESMMXXX", "agency": { "id": 1, "code": "AG001", "name": "Fast Transport Agency" }, "shippingTerm": { "id": 1, "code": "string", "customerPays": true, "intrastatCode": "string" }, "ropoCode": "ES-12345-ROPO", "ropoExpireDate": "2025-12-31", "tags": [ "PREMIUM", "INTERNATIONAL" ], "irpfType": "LEASES", "bankName": "BBVA", "contactPerson": "Juan GarcÃa", "picture": "https://www.suppliercorp.com/logo.png", "pictureToken": "a1b2c3d4e5f6", "incomeTaxRate": 15, "web": "https://www.suppliercorp.com", "modifiedOn": "2024-12-10T14:30:00+01:00", "observations": [ { … } ], "files": [ { … } ] }
Commercial name of the supplier.
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
- https://api.prana.software/api/v1/supplier/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.prana.software/api/v1/supplier/{id}' \
-H 'Content-Type: application/json' \
-d '{
"code": 20001,
"cif": "B87654321",
"commercialName": "Supplier Corp",
"name": "Supplier Corporation S.L.",
"address": "Calle Mayor, 10",
"country": 1,
"vat": 2,
"state": 28,
"postalCode": 28001,
"city": "Madrid",
"phone1": "+34911222333",
"phone2": "+34911444555",
"replacementTime": 7,
"language": 1,
"currency": 1,
"manufacturer": false,
"importer": true,
"active": true,
"notCreateOrder": false,
"observation": "Premium supplier with fast delivery",
"geographicalLocation": "NATIONAL",
"creationDate": "2021-03-15",
"inactiveDate": "2024-10-01",
"accountingAccount": 5,
"customer": 100,
"operator": 3,
"warehouse": 1,
"email": "contact@suppliercorp.com",
"paymentMethod": 2,
"terms": 3,
"daysFirstTerm": 30,
"daysBetweenTerms": 30,
"discount1": 3.5,
"discount2": 2,
"discountPp": 1.5,
"proximityType": "NEARBY",
"paymentDay1": 10,
"paymentDay2": 20,
"paymentDay3": 30,
"weekday": "MONDAY",
"paymentMethodObservation": 1,
"paymentMethodObservationDescription": "Bank transfer preferred",
"account": "ES7921000813610123456789",
"swift": "BBVAESMM",
"bic": "BBVAESMMXXX",
"agency": 2,
"shippingTerm": 1,
"ropoCode": "ES-12345-ROPO",
"ropoExpireDate": "2025-12-31",
"irpfType": "LEASES",
"picture": "https://www.suppliercorp.com/logo.png",
"bankName": "BBVA",
"contactPerson": "Juan GarcÃa",
"incomeTaxRate": 15,
"web": "https://www.suppliercorp.com",
"tags": [
"PREMIUM",
"INTERNATIONAL"
],
"observations": [
{
"id": 0,
"title": "string",
"description": "string"
}
],
"files": [
{
"id": 0,
"token": "string",
"fileName": "string",
"fileExtension": "string",
"fileSize": 0
}
],
"purchasingAccount": 7,
"vatOperationType": 1,
"reportLanguage": "EN"
}'OK
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer information if supplier is also a customer.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "id": 1, "code": 20001, "cif": "B87654321", "commercialName": "Supplier Corp", "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "name": "Supplier Corporation S.L.", "address": "Calle Mayor, 10", "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "postalCode": 28001, "city": "Madrid", "phone1": "+34911222333", "phone2": "+34911444555", "replacementTime": 7, "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "manufacturer": false, "importer": true, "active": true, "notCreateOrder": false, "observation": "Premium supplier with fast delivery", "geographicalLocation": "NATIONAL", "creationDate": "2021-03-15", "inactiveDate": "2024-10-01", "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "customer": { "id": 10001, "code": 10001, "name": "Acme S.A.", "commercialName": "Acme España", "cif": "B12345678", "address": "Av. de la Estación, 5", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "postalCode": "03001", "countryDescription": "Spain", "stateDescription": "Alicante", "email": "info@acme.es", "city": "Alicante", "activity": "Wholesale Trade", "brand": "Acme", "brandId": 100, "creationDate": "2020-01-01", "isActive": true, "inactiveDate": "2023-08-07", "paymentMethodId": 1, "paymentMethod": "Bank Transfer", "paymentMethodServeFullPrePaid": false, "rateCode": "RATE-001", "account": "ES9820385778983000760236", "vatDescription": "General", "discount1": 5, "currencyCode": "EUR", "currencyDescription": "Euro", "modifiedOn": "2024-08-07T12:30:00", "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "tags": [ … ] }, "operator": { "id": 1, "code": 0, "name": "string" }, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "email": "contact@suppliercorp.com", "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "terms": 3, "daysFirstTerm": 30, "daysBetweenTerms": 30, "discount1": 3.5, "discount2": 2, "discountPp": 1.5, "proximityType": "NEARBY", "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "paymentMethodObservation": { "id": 1, "code": "string", "type": "CLASSIFICATION", "description": "string", "blockOrder": true }, "paymentMethodObservationDescription": "Bank transfer preferred", "account": "ES7921000813610123456789", "swift": "BBVAESMM", "bic": "BBVAESMMXXX", "agency": { "id": 1, "code": "AG001", "name": "Fast Transport Agency" }, "shippingTerm": { "id": 1, "code": "string", "customerPays": true, "intrastatCode": "string" }, "ropoCode": "ES-12345-ROPO", "ropoExpireDate": "2025-12-31", "tags": [ "PREMIUM", "INTERNATIONAL" ], "irpfType": "LEASES", "bankName": "BBVA", "contactPerson": "Juan GarcÃa", "picture": "https://www.suppliercorp.com/logo.png", "pictureToken": "a1b2c3d4e5f6", "incomeTaxRate": 15, "web": "https://www.suppliercorp.com", "modifiedOn": "2024-12-10T14:30:00+01:00", "observations": [ { … } ], "files": [ { … } ] }
- https://api.prana.software/api/v1/supplier/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.prana.software/api/v1/supplier/{id}' \
-H 'Content-Type: application/json' \
-d '{
"property1": {},
"property2": {}
}'OK
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer information if supplier is also a customer.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "id": 1, "code": 20001, "cif": "B87654321", "commercialName": "Supplier Corp", "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "name": "Supplier Corporation S.L.", "address": "Calle Mayor, 10", "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "postalCode": 28001, "city": "Madrid", "phone1": "+34911222333", "phone2": "+34911444555", "replacementTime": 7, "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "manufacturer": false, "importer": true, "active": true, "notCreateOrder": false, "observation": "Premium supplier with fast delivery", "geographicalLocation": "NATIONAL", "creationDate": "2021-03-15", "inactiveDate": "2024-10-01", "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "customer": { "id": 10001, "code": 10001, "name": "Acme S.A.", "commercialName": "Acme España", "cif": "B12345678", "address": "Av. de la Estación, 5", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "postalCode": "03001", "countryDescription": "Spain", "stateDescription": "Alicante", "email": "info@acme.es", "city": "Alicante", "activity": "Wholesale Trade", "brand": "Acme", "brandId": 100, "creationDate": "2020-01-01", "isActive": true, "inactiveDate": "2023-08-07", "paymentMethodId": 1, "paymentMethod": "Bank Transfer", "paymentMethodServeFullPrePaid": false, "rateCode": "RATE-001", "account": "ES9820385778983000760236", "vatDescription": "General", "discount1": 5, "currencyCode": "EUR", "currencyDescription": "Euro", "modifiedOn": "2024-08-07T12:30:00", "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "tags": [ … ] }, "operator": { "id": 1, "code": 0, "name": "string" }, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "email": "contact@suppliercorp.com", "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "terms": 3, "daysFirstTerm": 30, "daysBetweenTerms": 30, "discount1": 3.5, "discount2": 2, "discountPp": 1.5, "proximityType": "NEARBY", "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "paymentMethodObservation": { "id": 1, "code": "string", "type": "CLASSIFICATION", "description": "string", "blockOrder": true }, "paymentMethodObservationDescription": "Bank transfer preferred", "account": "ES7921000813610123456789", "swift": "BBVAESMM", "bic": "BBVAESMMXXX", "agency": { "id": 1, "code": "AG001", "name": "Fast Transport Agency" }, "shippingTerm": { "id": 1, "code": "string", "customerPays": true, "intrastatCode": "string" }, "ropoCode": "ES-12345-ROPO", "ropoExpireDate": "2025-12-31", "tags": [ "PREMIUM", "INTERNATIONAL" ], "irpfType": "LEASES", "bankName": "BBVA", "contactPerson": "Juan GarcÃa", "picture": "https://www.suppliercorp.com/logo.png", "pictureToken": "a1b2c3d4e5f6", "incomeTaxRate": 15, "web": "https://www.suppliercorp.com", "modifiedOn": "2024-12-10T14:30:00+01:00", "observations": [ { … } ], "files": [ { … } ] }
Commercial name of the supplier.
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
- https://api.prana.software/api/v1/supplier
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/supplier \
-H 'Content-Type: application/json' \
-d '{
"code": 20001,
"cif": "B87654321",
"commercialName": "Supplier Corp",
"name": "Supplier Corporation S.L.",
"address": "Calle Mayor, 10",
"country": 1,
"vat": 2,
"state": 28,
"postalCode": 28001,
"city": "Madrid",
"phone1": "+34911222333",
"phone2": "+34911444555",
"replacementTime": 7,
"language": 1,
"currency": 1,
"manufacturer": false,
"importer": true,
"active": true,
"notCreateOrder": false,
"observation": "Premium supplier with fast delivery",
"geographicalLocation": "NATIONAL",
"creationDate": "2021-03-15",
"inactiveDate": "2024-10-01",
"accountingAccount": 5,
"customer": 100,
"operator": 3,
"warehouse": 1,
"email": "contact@suppliercorp.com",
"paymentMethod": 2,
"terms": 3,
"daysFirstTerm": 30,
"daysBetweenTerms": 30,
"discount1": 3.5,
"discount2": 2,
"discountPp": 1.5,
"proximityType": "NEARBY",
"paymentDay1": 10,
"paymentDay2": 20,
"paymentDay3": 30,
"weekday": "MONDAY",
"paymentMethodObservation": 1,
"paymentMethodObservationDescription": "Bank transfer preferred",
"account": "ES7921000813610123456789",
"swift": "BBVAESMM",
"bic": "BBVAESMMXXX",
"agency": 2,
"shippingTerm": 1,
"ropoCode": "ES-12345-ROPO",
"ropoExpireDate": "2025-12-31",
"irpfType": "LEASES",
"picture": "https://www.suppliercorp.com/logo.png",
"bankName": "BBVA",
"contactPerson": "Juan GarcÃa",
"incomeTaxRate": 15,
"web": "https://www.suppliercorp.com",
"tags": [
"PREMIUM",
"INTERNATIONAL"
],
"observations": [
{
"id": 0,
"title": "string",
"description": "string"
}
],
"files": [
{
"id": 0,
"token": "string",
"fileName": "string",
"fileExtension": "string",
"fileSize": 0
}
],
"purchasingAccount": 7,
"vatOperationType": 1,
"reportLanguage": "EN"
}'OK
General observations about the supplier.
Geographical location type.
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer information if supplier is also a customer.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
IRPF type for withholding tax.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "id": 1, "code": 20001, "cif": "B87654321", "commercialName": "Supplier Corp", "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "name": "Supplier Corporation S.L.", "address": "Calle Mayor, 10", "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "postalCode": 28001, "city": "Madrid", "phone1": "+34911222333", "phone2": "+34911444555", "replacementTime": 7, "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "manufacturer": false, "importer": true, "active": true, "notCreateOrder": false, "observation": "Premium supplier with fast delivery", "geographicalLocation": "NATIONAL", "creationDate": "2021-03-15", "inactiveDate": "2024-10-01", "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "customer": { "id": 10001, "code": 10001, "name": "Acme S.A.", "commercialName": "Acme España", "cif": "B12345678", "address": "Av. de la Estación, 5", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "postalCode": "03001", "countryDescription": "Spain", "stateDescription": "Alicante", "email": "info@acme.es", "city": "Alicante", "activity": "Wholesale Trade", "brand": "Acme", "brandId": 100, "creationDate": "2020-01-01", "isActive": true, "inactiveDate": "2023-08-07", "paymentMethodId": 1, "paymentMethod": "Bank Transfer", "paymentMethodServeFullPrePaid": false, "rateCode": "RATE-001", "account": "ES9820385778983000760236", "vatDescription": "General", "discount1": 5, "currencyCode": "EUR", "currencyDescription": "Euro", "modifiedOn": "2024-08-07T12:30:00", "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "tags": [ … ] }, "operator": { "id": 1, "code": 0, "name": "string" }, "warehouse": { "id": 1, "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "email": "contact@suppliercorp.com", "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "terms": 3, "daysFirstTerm": 30, "daysBetweenTerms": 30, "discount1": 3.5, "discount2": 2, "discountPp": 1.5, "proximityType": "NEARBY", "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "paymentMethodObservation": { "id": 1, "code": "string", "type": "CLASSIFICATION", "description": "string", "blockOrder": true }, "paymentMethodObservationDescription": "Bank transfer preferred", "account": "ES7921000813610123456789", "swift": "BBVAESMM", "bic": "BBVAESMMXXX", "agency": { "id": 1, "code": "AG001", "name": "Fast Transport Agency" }, "shippingTerm": { "id": 1, "code": "string", "customerPays": true, "intrastatCode": "string" }, "ropoCode": "ES-12345-ROPO", "ropoExpireDate": "2025-12-31", "tags": [ "PREMIUM", "INTERNATIONAL" ], "irpfType": "LEASES", "bankName": "BBVA", "contactPerson": "Juan GarcÃa", "picture": "https://www.suppliercorp.com/logo.png", "pictureToken": "a1b2c3d4e5f6", "incomeTaxRate": 15, "web": "https://www.suppliercorp.com", "modifiedOn": "2024-12-10T14:30:00+01:00", "observations": [ { … } ], "files": [ { … } ] }
- https://api.prana.software/api/v1/supplier/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/supplier/search \
-H 'Content-Type: application/json' \
-d '{
"condition": {
"field": "name",
"value": "Example Value",
"type": "EQ",
"endValue": 100,
"innerConditions": [
{}
],
"conditionType": "AND",
"empty": false,
"compareFields": false
},
"sortCriteria": [
{
"sortField": "name",
"sortDirection": "ASC"
}
],
"pageNumber": 0,
"pageSize": 20
}'OK
List of data items for the current page
Date of supplier creation. Format: yyyy-MM-dd
Date when supplier became inactive. Format: yyyy-MM-dd
Picture or logo for the supplier.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }