Requires any of the roles: | admin, oauthadmin | Requires any of the permissions: | /admin/store/, /admin/events/ |
GET | /Ams/{ClientID}/Products | Get list of a products for client. | |
---|---|---|---|
GET | /Ams/{ClientID}/Products/{id} | Get the details of a product. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
id | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UsingRedis | form | bool | No | |
AppInitTime | form | DateTime | No | |
ServerID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
weight | form | double | No | |
hasSpecialTaxRate | form | bool | No | |
PrimaryCategory | form | string | No | |
ProductActive | form | int | No | |
IsFeatured | form | bool | No | |
ListInStore | form | bool | No | |
BuyFromStore | form | bool? | No | |
TagLine | form | string | No | |
SizeType | form | string | No | |
ColorOptions | form | string | No | |
CustomFieldName | form | string | No | |
CustomFieldOptions | form | string | No | |
ProductDescription | form | string | No | |
SpecialInstructions | form | string | No | |
RequireResponse | form | bool | No | |
ProductGroup | form | string | No | |
IsAutoPromoCode | form | bool | No | |
AutoPromoCode | form | AutoPromoCode | No | |
Freestone | form | FreestoneProduct | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
itemTypeId | form | string | No | |
id | form | int | No | |
shippingCost | form | double | No | |
description | form | string | No | |
customDescription | form | string | No | |
taxRate | form | double | No | |
taxGLCode | form | string | No | |
quantity | form | double | No | |
amount | form | double | No | |
isProRated | form | bool | No | |
GLCode | form | string | No | |
isModifier | form | bool | No | |
isDuesRule | form | bool | No | |
taxQBClass | form | string | No | |
QBClass | form | string | No | |
sku | form | string | No | |
taxable | form | bool | No | |
autoPromoCodeAmount | form | double | No | |
autoPromoCodeTitle | form | string | No | |
salesDiscount | form | double | No | |
AutoPromoCode | form | AutoPromoCode | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Title | form | string | No | |
IsPercent | form | bool | No | |
Discount | form | double | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsFreestoneProduct | form | bool | No | |
ProductTypeId | form | int? | No | |
CourseTypeId | form | int? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Ams/{ClientID}/Products HTTP/1.1 Host: ws.yourmembership.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"weight":0,"hasSpecialTaxRate":false,"PrimaryCategory":"String","ProductActive":0,"IsFeatured":false,"ListInStore":false,"BuyFromStore":false,"TagLine":"String","SizeType":"String","ColorOptions":"String","CustomFieldName":"String","CustomFieldOptions":"String","ProductDescription":"String","SpecialInstructions":"String","RequireResponse":false,"ProductGroup":"String","IsAutoPromoCode":false,"AutoPromoCode":{"Id":0,"Title":"String","IsPercent":false,"Discount":0},"Freestone":{"IsFreestoneProduct":false,"ProductTypeId":0,"CourseTypeId":0},"itemTypeId":"String","id":0,"shippingCost":0,"description":"String","customDescription":"String","taxRate":0,"taxGLCode":"String","quantity":0,"amount":0,"isProRated":false,"GLCode":"String","isModifier":false,"isDuesRule":false,"taxQBClass":"String","QBClass":"String","sku":"String","taxable":false,"autoPromoCodeAmount":0,"autoPromoCodeTitle":"String","salesDiscount":0}