HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/ApplyPoints HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"cartId":"String","productId":"String","product":{"id":"String","productLineId":"String","manufacturerNumber":"String","shortDescription":"String","longDescription":"String","altDescription":"String","upcCode":"String","status":"String","listPrice":0,"wholesalePrice":0,"retailPrice":0,"retailListPrice":0,"unitsInStock":0,"unitsAllocated":0,"unlisted":false,"categoryId":"String","category":{"id":"String","label":"String"},"minimumOrderQty":0,"availableQty":0,"caseQty":0,"casePrice":0,"availableOn":"0001-01-01T00:00:00.0000000Z","incomingQty":0,"purchaseIncrement":0,"optionGroup":"String","optionGroupList":"String","vendorId":"String","vendor":{"id":"String","label":"String","vendorName":"String","abbreviation":"String","orderMinimum":0,"reOrderMinimum":0,"minimumBalance":0,"active":false,"isInvoiceOnly":false,"allowPriceOverride":false,"defaultShipDatePrevious":false,"enforceMinimums":false,"enforcePurchaseIncrement":false,"allowDiscounts":false,"emailOrders":false,"allowBackorders":false,"useVendorCustId":false,"useVendorShipId":false,"useVendorTerms":false,"exportReviewOrders":false,"emailUrlToExport":false,"includeInBatch":false,"decryptCCOnExport":false,"customerNumber":"String","exportOrders":false,"splitByProductLine":false,"isShowroomVendor":false,"allowManualItemEntry":false,"requireCreditSheet":false,"address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","website":"String","note":"String","commissionPercent":0,"orderTagLine":"String","productTags":[{"id":"String","tag":"String"}],"settings":[{"vendorId":"String","key":"String","value":"String"}],"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lastOrderedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"tags":{"String":["String"]}},"isB2B":false,"isB2C":false,"isSellable":false,"isNonDiscountable":false,"itemType":"String","imageUrl":"String","onDemandProductEuid":"String","keywords":"String","superCategory":"String","tags":{"String":["String"]},"asShownValues":[{"fieldId":"String","valueId":"String","customText":"String"}],"genericTags":[{"id":1312561414.13126,"shard":"String","principalId":"String","tagKind":"String","tagLabel":"String","parentTagKind":"String","parentTagLabel":"String","createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","generated":false,"exported":false,"position":0}],"isNew":false,"isRestricted":false,"isAsShown":false,"isKit":false,"isKitExplode":false,"isKitEditable":false,"meta":{"String":"String"},"isOnDemand":false,"createdOn":"0001-01-01T00:00:00.0000000Z","weight":0,"height":0,"width":0,"length":0,"cubicVolume":0,"maxNumLines":0,"cost":0,"uom":"String","subCategory":"String","shipOn":"0001-01-01T00:00:00.0000000Z","mainFeatured":0,"featured":0,"likes":1,"hasLiked":false,"enforceMinimum":false,"points":0,"custom9":"String","warehouse":"String","productImages":[{"productId":"String","position":0,"createdOn":"0001-01-01T00:00:00.0000000Z"}],"isDealerVisible":false},"manufacturerNumber":"String","productLineId":"String","qtyPurchased":0,"qtyShipped":0,"qtyOpen":0,"qtyAdjusted":false,"qtyCustom1":0,"qtyCustom2":0,"openTotal":0,"shippedTotal":0,"position":0,"orderNotes":"String","description":"String","comments":"String","notes":"String","brandId":"String","superCategory":"String","salesRepId":"String","promoCode":"String","promoCode2":"String","status":"String","price":0,"priceOverride":0,"priceListId":"String","options":[],"meta":{"String":"String"},"optionsString":"","promoDiscount":0,"discountPercentage":0,"discount":0,"lineOrderDiscount":0,"lineDiscount":0,"promoNote":"String","subTotal":0,"openSubTotal":0,"shippedSubTotal":0,"pricePaid":0,"extendedQtyPurchased":0,"caseQtyPurchased":0,"totalWeight":0,"availableWeight":0,"totalCubicVolume":0,"availableCubicVolume":0,"availableTotal":0,"extendedTotal":0,"openExtendedTotal":0,"shippedExtendedTotal":0,"parentPosition":0,"listPrice":0,"cost":"String","upc":"String","uom":"String","paymentTermsId":"String","shippingMethodId":"String","category":"String","subCategory":"String","cancelOn":"0001-01-01T00:00:00.0000000Z","esaDate":"0001-01-01T00:00:00.0000000Z","custom1":"String","custom2":"String","custom3":"String","custom4":"String","custom5":"String","custom6":"String","custom7":"String","custom8":"String","custom9":"String","custom10":"String","custom11":"String","trackingNumbers":"String","custom13":"String","optionGroupList":"String","tagFor":"String","reasonCode":"String","purchaseOrder":"String","nextFulfillment":"String","addItemPath":"String","isKitComponent":false,"isContractPrice":false,"points":0,"customerLineLevelQty":0,"fromSplit":false,"canModify":false,"origQty":0,"campaignId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"cartId":"String","productId":"String","product":{"id":"String","productLineId":"String","manufacturerNumber":"String","shortDescription":"String","longDescription":"String","altDescription":"String","upcCode":"String","status":"String","listPrice":0,"wholesalePrice":0,"retailPrice":0,"retailListPrice":0,"unitsInStock":0,"unitsAllocated":0,"unlisted":false,"categoryId":"String","category":{"id":"String","label":"String"},"minimumOrderQty":0,"availableQty":0,"caseQty":0,"casePrice":0,"availableOn":"0001-01-01T00:00:00.0000000Z","incomingQty":0,"purchaseIncrement":0,"optionGroup":"String","optionGroupList":"String","vendorId":"String","vendor":{"id":"String","label":"String","vendorName":"String","abbreviation":"String","orderMinimum":0,"reOrderMinimum":0,"minimumBalance":0,"active":false,"isInvoiceOnly":false,"allowPriceOverride":false,"defaultShipDatePrevious":false,"enforceMinimums":false,"enforcePurchaseIncrement":false,"allowDiscounts":false,"emailOrders":false,"allowBackorders":false,"useVendorCustId":false,"useVendorShipId":false,"useVendorTerms":false,"exportReviewOrders":false,"emailUrlToExport":false,"includeInBatch":false,"decryptCCOnExport":false,"customerNumber":"String","exportOrders":false,"splitByProductLine":false,"isShowroomVendor":false,"allowManualItemEntry":false,"requireCreditSheet":false,"address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","website":"String","note":"String","commissionPercent":0,"orderTagLine":"String","productTags":[{"id":"String","tag":"String"}],"settings":[{"vendorId":"String","key":"String","value":"String"}],"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lastOrderedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"tags":{"String":["String"]}},"isB2B":false,"isB2C":false,"isSellable":false,"isNonDiscountable":false,"itemType":"String","imageUrl":"String","onDemandProductEuid":"String","keywords":"String","superCategory":"String","tags":{"String":["String"]},"asShownValues":[{"fieldId":"String","valueId":"String","customText":"String"}],"genericTags":[{"id":1312561414.13126,"shard":"String","principalId":"String","tagKind":"String","tagLabel":"String","parentTagKind":"String","parentTagLabel":"String","createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","generated":false,"exported":false,"position":0}],"isNew":false,"isRestricted":false,"isAsShown":false,"isKit":false,"isKitExplode":false,"isKitEditable":false,"meta":{"String":"String"},"isOnDemand":false,"createdOn":"0001-01-01T00:00:00.0000000Z","weight":0,"height":0,"width":0,"length":0,"cubicVolume":0,"maxNumLines":0,"cost":0,"uom":"String","subCategory":"String","shipOn":"0001-01-01T00:00:00.0000000Z","mainFeatured":0,"featured":0,"likes":1,"hasLiked":false,"enforceMinimum":false,"points":0,"custom9":"String","warehouse":"String","productImages":[{"productId":"String","position":0,"createdOn":"0001-01-01T00:00:00.0000000Z"}],"isDealerVisible":false},"manufacturerNumber":"String","productLineId":"String","qtyPurchased":0,"qtyShipped":0,"qtyOpen":0,"qtyAdjusted":false,"qtyCustom1":0,"qtyCustom2":0,"openTotal":0,"shippedTotal":0,"position":0,"orderNotes":"String","description":"String","comments":"String","notes":"String","brandId":"String","superCategory":"String","salesRepId":"String","promoCode":"String","promoCode2":"String","status":"String","price":0,"priceOverride":0,"priceListId":"String","options":[],"meta":{"String":"String"},"optionsString":"","promoDiscount":0,"discountPercentage":0,"discount":0,"lineOrderDiscount":0,"lineDiscount":0,"promoNote":"String","subTotal":0,"openSubTotal":0,"shippedSubTotal":0,"pricePaid":0,"extendedQtyPurchased":0,"caseQtyPurchased":0,"totalWeight":0,"availableWeight":0,"totalCubicVolume":0,"availableCubicVolume":0,"availableTotal":0,"extendedTotal":0,"openExtendedTotal":0,"shippedExtendedTotal":0,"parentPosition":0,"listPrice":0,"cost":"String","upc":"String","uom":"String","paymentTermsId":"String","shippingMethodId":"String","category":"String","subCategory":"String","cancelOn":"0001-01-01T00:00:00.0000000Z","esaDate":"0001-01-01T00:00:00.0000000Z","custom1":"String","custom2":"String","custom3":"String","custom4":"String","custom5":"String","custom6":"String","custom7":"String","custom8":"String","custom9":"String","custom10":"String","custom11":"String","trackingNumbers":"String","custom13":"String","optionGroupList":"String","tagFor":"String","reasonCode":"String","purchaseOrder":"String","nextFulfillment":"String","addItemPath":"String","isKitComponent":false,"isContractPrice":false,"points":0,"customerLineLevelQty":0,"fromSplit":false,"canModify":false,"origQty":0,"campaignId":"String"}