Get Store Products
Get all store products.
Post
https://store.payproglobal.com/api/Products/GetStoreProductsRequest Parameters
application/jsonGetStoreProductsRequestModel
objectproductIds
array[integer]conditional
The list of product IDs for which you want to get the product details.
productNames
array[string]conditional
The list of product names for which you want to get the product details.
productSKUs
array[string]conditional
The list of product SKU values for which you want to get the product details.
productStatusId
integeroptional
The product status. It can be active (value = 1) or inactive (value = 0).
productChargingTypeId
integeroptional
The product charging type. It can be a one-time payment (value = 1) or a subscription (value = 2).
languageCode
stringoptional
The language code. It is used to get the response results
storeProducts name and description in a defined language if needed.
storeProducts name and description in a defined language if needed.
vendorAccountId
integerrequired
The vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringrequired
The vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
Response Parameters
application/jsonGetStoreProductsResponseModel
objectresponse
objectstoreProducts
array[object]List of store products.
id
integerThe product ID value.
name
stringThe product name value.
description
stringThe product description value.
logo
stringThe product logo path.
sku
stringThe product SKU value.
request
objectproductIds
array[integer]The list of product IDs for which you want to get the product details.
productNames
array[string]The list of product names for which you want to get the product details.
productSKUs
array[string]The list of product SKU values for which you want to get the product details.
productStatusId
integerThe product status. It can be active (value = 1) or inactive (value = 0).
productChargingTypeId
integerThe product charging type. It can be a one-time payment (value = 1) or a subscription (value = 2).
languageCode
stringThe language code. It is used to get the response results
storeProducts name and description in a defined language if needed.
storeProducts name and description in a defined language if needed.
vendorAccountId
integerThe vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringThe vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
errors
array[object]propertyWithError
stringpropertyErrorMessages
array[string]isSuccess
booleanRequest Sample
{
"productIds": [
12345,
12345
],
"productNames": [
"Test_product",
"Test_product_2"
],
"productSKUs": [
"your_SKU_1",
"your_SKU_2"
],
"productStatusId": 1,
"productChargingTypeId": 2,
"languageCode": "en",
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"response": {
"storeProducts": [{
"id": 12345,
"name": "Test_product",
"description": "product_description",
"logo": null,
"sku": null
},{
"id": 12345,
"name": "Test_product_2",
"description": "product_description",
"logo": "/Content/files/logo.png",
"sku": "SKU"
}]
},
"request": {
"productIds": [
12345,
12345
],
"productNames": [
"Test_product",
"Test_product_2"
],
"productSKUs": [
"your_SKU_1",
"your_SKU_2"
],
"productStatusId": 1,
"productChargingTypeId": 2,
"languageCode": "en",
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
},
"errors": [],
"isSuccess": true
}