## Example models
## Get payment plan by ordergroupid
Column Title | Column Title | Column Title |
GET | get/episerverapi/commerce/paymentplans/{orderGroupId} | Get payment plan by ordergroupid |
#### JSON response type
#### XML response type
Response
## Get payment plan by customerid
Column Title | Column Title | Column Title |
GET | get/episerverapi/commerce/paymentplans/{customerId}/all | Get payment plan by customerid |
#### JSON response types
#### XML response types
Response
## Search payment plans
Column Title | Column Title | Column Title |
GET | get/episerverapi/commerce/paymentplans/search/{start}/{maxCount} | Search payment plans |
#### JSON response type
#### XML response type
Response
Other search parameters
Payment plans can also be searched for using other criteria as decribed in the following.
**Status**
Note
Multiple statuses can be used.
**Date**
**Shipment status**
**Shipping method ID**
**Shipment status and shipping method ID**
## Create payment plan
Column Title | Column Title | Column Title |
POST | post/episerverapi/commerce/paymentplans | Create payment plan |
#### JSON response type
C# code sample
#### XML response type
C# code sample
Response
## Update payment plan
Column Title | Column Title | Column Title |
PUT | put/episerverapi/commerce/paymentplans/{orderGroupId} | Update payment plan |
#### JSON response type
#### XML response type
Response
## Delete payment plan
Column Title | Column Title | Column Title |
DELETE | delete/episerverapi/commerce/paymentplans/{orderGroupId} | Delete payment plan |
#### JSON response type
#### XML response type
Response