GetProduct

RazorCart > Integration > REST API
Usage
Retrieve a product by the ID
Basic URI
/DesktopModules/RazorCart/Services/v1/Products/{id}
Parameters
int id               The product Id
AUTH
Bearer JWT
Required Scope(s)
products
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Products/2 HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
{
  "ProductID": 2,
  "CategoryID": 0,
  "Manufacturer": "SC Tech Group",
  "ModelNumber": "RC-Ver-02",
  "ModelName": "Variants Sample Product",
  "UnitCost": 10,
  "QuantityOnHand": 100,
  "Summary": "This is a sample of a variants product",
  "Description": "This is the first product tab [Summary]",
  "Featured": true,
  "Weight": 10,
  "SortOrder": 2,
  "Items": 0,
  "Recurring": false,
  "SubscriptionInterval": "",
  "RecurringOccurances": 1,
  "RequireLogin": false,
  "UsePriPriceWght": false,
  "MasterBundleID": 0,
  "BundleID": 0,
  "PortalID": 0,
  "TitleTag": "",
  "DescriptionTag": "",
  "KeywordTag": "",
  "RequireCoupon": false,
  "Description2": "This is the second product tab [Sizes]",
  "Description3": "",
  "Description4": "",
  "Description5": "",
  "TabName1": "Summary",
  "TabName2": "Sizes",
  "TabName3": "",
  "TabName4": "",
  "TabName5": "",
  "SEOURL": "variants-sample-product",
  "HideThumbnail": false,
  "HidePrice": false,
  "PriceClass": null,
  "MinOrderQty": -1,
  "ChargeHandling": false,
  "HideQuantity": false,
  "PriceUnits": null,
  "MaxOrderQty": -1,
  "Width": -1,
  "Height": -1,
  "Length": -1,
  "RecurringStartDate": "-",
  "ExcludeVariantRecur": false,
  "WholesalePrice": 0,
  "SalePrice": 5,
  "HideProduct": false,
  "ShowProductRole": false,
  "Upsell": false,
  "EnableTrial": false,
  "TrialInterval": null,
  "TrialOccurences": null,
  "TrialAmount": 0,
  "UseCompanyLogo": false,
  "UserEnteredAmount": false,
  "Booking": false,
  "BookingUnits": null,
  "RecurStartDateSetup": "StartNow",
  "ProductDetailUrl": null,
  "GiftCard": false,
  "SaleStartDate": "2016-11-01T00:00:00",
  "SaleEndDate": "2016-12-31T00:00:00",
  "CompareGroup": null,
  "ProductTypeID": 0,
  "StoreID": 1,
  "ThumbImage": "13986273-new-product_DZ_1.jpg",
  "LargeImage": "13986273-new-product_DZ_1.jpg",
  "ZoomImage": "13986273-new-product_DZ_1.jpg",
  "HasVariants": true,
  "IsUnderSale": false,
  "MemberPriceOption": 0
}