Skip to content

Commit

Permalink
Optional categories parameter could be passed with each ordered
Browse files Browse the repository at this point in the history
  • Loading branch information
radkomih committed Aug 29, 2017
1 parent 835cfe4 commit 148373e
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions README.md
Expand Up @@ -112,7 +112,18 @@ var orderParams = {
// option_price: 134.50
name: 'Black T-shirt',
url: 'http://fanstore-johnybravo.com/product/blacktshirt',
quantity: 1
quantity: 1,
// categories could be passed (optionally)
categories: [
{
id: '11556',
name: 'Clothes'
},
{
id: '11137',
name: 'Fashion'
}
]
}
],
coupons: ['EASTER15OFF'],
Expand Down Expand Up @@ -322,7 +333,18 @@ var orderParams = {
// option_price: 134.50
name: 'Black T-shirt',
url: 'http://fanstore-johnybravo.com/product/blacktshirt',
quantity: 1
quantity: 1,
// categories could be passed (optionally)
categories: [
{
id: '11556',
name: 'Clothes'
},
{
id: '11137',
name: 'Fashion'
}
]
}
],
coupons: ['EASTER15OFF'],
Expand Down

0 comments on commit 148373e

Please sign in to comment.