| Requires any of the roles: | admin, oauthadmin | Requires any of the permissions: | /admin/store/, /admin/events/ |
| GET | /Ams/{ClientID}/Product/{id}/MemberID/{MemberID} | Get the product details with Member Price. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | path | int | No | |
| MemberID | 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 | |
| PathLMSProductID | form | int | 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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Ams/{ClientID}/Product/{id}/MemberID/{MemberID} HTTP/1.1
Host: ws.yourmembership.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YM.Web.Services.Ams">
<AutoPromoCode i:nil="true" />
<GLCode>String</GLCode>
<QBClass>String</QBClass>
<amount>0</amount>
<autoPromoCodeAmount>0</autoPromoCodeAmount>
<autoPromoCodeTitle>String</autoPromoCodeTitle>
<customDescription>String</customDescription>
<description>String</description>
<id>0</id>
<isDuesRule>false</isDuesRule>
<isModifier>false</isModifier>
<isProRated>false</isProRated>
<itemTypeId>String</itemTypeId>
<quantity>0</quantity>
<salesDiscount>0</salesDiscount>
<shippingCost>0</shippingCost>
<sku>String</sku>
<taxGLCode>String</taxGLCode>
<taxQBClass>String</taxQBClass>
<taxRate>0</taxRate>
<taxable>false</taxable>
<AutoPromoCode>
<Discount>0</Discount>
<Id>0</Id>
<IsPercent>false</IsPercent>
<Title>String</Title>
</AutoPromoCode>
<BuyFromStore>false</BuyFromStore>
<ColorOptions>String</ColorOptions>
<CustomFieldName>String</CustomFieldName>
<CustomFieldOptions>String</CustomFieldOptions>
<Freestone>
<CourseTypeId>0</CourseTypeId>
<IsFreestoneProduct>false</IsFreestoneProduct>
<ProductTypeId>0</ProductTypeId>
</Freestone>
<IsAutoPromoCode>false</IsAutoPromoCode>
<IsFeatured>false</IsFeatured>
<ListInStore>false</ListInStore>
<PathLMSProductID>0</PathLMSProductID>
<PrimaryCategory>String</PrimaryCategory>
<ProductActive>0</ProductActive>
<ProductDescription>String</ProductDescription>
<ProductGroup>String</ProductGroup>
<RequireResponse>false</RequireResponse>
<SizeType>String</SizeType>
<SpecialInstructions>String</SpecialInstructions>
<TagLine>String</TagLine>
<hasSpecialTaxRate>false</hasSpecialTaxRate>
<weight>0</weight>
</ProductResponse>