| POST | /IapPlanUpsertRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlanId | body | string | No | |
| Name | body | string | No | |
| Tagline | body | string | No | |
| Level | body | int | No | |
| Badge | body | string | No | |
| Benefits | body | List<string> | No | |
| EntitlementLookupKey | body | string | No | |
| ProductCategoryId | body | long | No | |
| ParentProductCategoryId | body | long | No | |
| MonthlySku | body | string | No | |
| AnnualSku | body | string | No | |
| MonthlyLocalProductId | body | long | No | |
| AnnualLocalProductId | body | long | No | |
| IncludesPrint | body | bool | No | |
| RequiresShippingAddress | body | bool | No | |
| VisibleInApp | body | bool | No | |
| SortOrder | body | int | No | |
| WholesaleCatalogs | body | string | No | |
| Reason | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Plans | form | List<IapPlanDefinition> | No | |
| Source | form | string | No | |
| OfferingId | form | string | No | |
| Status | form | string | No | |
| Steps | form | List<IapPlanStepResult> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Total | form | int | No | |
| OpCode | form | int | No | |
| ErrorText | form | string | No | |
| RequestTime | form | string | No | |
| ResponseTime | form | string | No | |
| TotalExecutionTime | form | string | No | |
| CachedResponse | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlanId | form | string | No | |
| Name | form | string | No | |
| Tagline | form | string | No | |
| Level | form | int | No | |
| Badge | form | string | No | |
| Benefits | form | List<string> | No | |
| EntitlementLookupKey | form | string | No | |
| ProductCategoryId | form | long | No | |
| ParentProductCategoryId | form | long | No | |
| MonthlySku | form | string | No | |
| AnnualSku | form | string | No | |
| MonthlyLocalProductId | form | long | No | |
| AnnualLocalProductId | form | long | No | |
| IncludesPrint | form | bool | No | |
| RequiresShippingAddress | form | bool | No | |
| VisibleInApp | form | bool | No | |
| SortOrder | form | int | No | |
| WholesaleCatalogs | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Step | form | string | No | |
| Target | form | string | No | |
| Outcome | form | string | No | |
| Detail | form | string | 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.
POST /IapPlanUpsertRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"PlanId":"String","Name":"String","Tagline":"String","Level":0,"Badge":"String","Benefits":["String"],"EntitlementLookupKey":"String","ProductCategoryId":0,"ParentProductCategoryId":0,"MonthlySku":"String","AnnualSku":"String","MonthlyLocalProductId":0,"AnnualLocalProductId":0,"IncludesPrint":false,"RequiresShippingAddress":false,"VisibleInApp":false,"SortOrder":0,"WholesaleCatalogs":"String","Reason":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Plans":[{"PlanId":"String","Name":"String","Tagline":"String","Level":0,"Badge":"String","Benefits":["String"],"EntitlementLookupKey":"String","ProductCategoryId":0,"ParentProductCategoryId":0,"MonthlySku":"String","AnnualSku":"String","MonthlyLocalProductId":0,"AnnualLocalProductId":0,"IncludesPrint":false,"RequiresShippingAddress":false,"VisibleInApp":false,"SortOrder":0,"WholesaleCatalogs":"String"}],"Source":"String","OfferingId":"String","Status":"String","Steps":[{"Step":"String","Target":"String","Outcome":"String","Detail":"String"}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}