| GET | /sales/packages/{PackageId}/installments | Get sales package installments |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| XForwardedFor | header | string | No | IP address of the end user |
| ApiKey | query | string | Yes | Api Key - grants access to resources |
| StoreId | query | string | Yes | ID # of store to get package plans for |
| PackageId | path | string | Yes | ID # of package to get installment plans for |
| RestrictedId | query | int? | No | |
| RestrictedResourceType | query | RestrictedResourceType | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PackageId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChainId | form | int? | No | |
| ApiKey | form | string | No | |
| StoreId | form | int? | No |
| Store | |
| Chain | |
| User | |
| Undefined |
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 /sales/packages/{PackageId}/installments HTTP/1.1
Host: www.clubready.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"Id":0,"ForOnlineSale":false,"PaymentCount":0,"DuePerPayment":"String","Fees":[{"Name":"String","Amount":"String","Taxable":false,"CanBeWaived":false,"CanDuplicate":false,"OneTime":false,"DueUpfront":false,"PayFrequencyMonths":0}]}]