POST
https://api.subscriptiongenius.com/2/orders/
Paramater |
Description |
Required |
Default |
Data Type |
billing_address_id |
|
Yes |
|
Int |
line_items.bundle_id |
|
Yes |
|
Int |
line_items.product_id |
|
Yes |
|
Int |
mailing_address_id |
|
Yes |
|
Int |
subscriber_id |
|
Yes |
|
Int |
is_gift |
|
No |
|
Bool |
line_items.price |
|
No |
|
Double |
order_date |
|
No |
|
DateTime |
payment.amount |
|
No |
|
Double |
payment.notes |
|
No |
|
Char(15) |
payment.transaction_id |
|
No |
|
Char(15) |
payment.type |
'Cash','Credit','Check','Other','PayPal','Imported' |
No |
|
ENUM |
user_id |
|
No |
|
Int |
Paramater |
Description |
Data Type |
order_id |
|
Int |
{
"billing_address_id":191563,
"mailing_address_id":191563,
"subscriber_id":191468,
"order_date":"2015-12-30 02:47:15",
"is_gift":false,
"line_items":[
{
"product_id":24,
"price":9.95
},
{
"bundle_id":327,
"price":19.95
}
],
"payment":{
"notes":"Last Four: 1234",
"amount":30,
"type":"CreditCard",
"transaction_id":1239483
}
}
{
"order_id":50153
}