Skip to content

Commit

Permalink
Merge beca471 into a44a393
Browse files Browse the repository at this point in the history
  • Loading branch information
niritdabby committed Oct 17, 2018
2 parents a44a393 + beca471 commit 18501f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/yotpo/api/purchase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ def create_new_purchase(params)
currency_iso: params[:currency_iso],
order_id: params[:order_id],
platform: params[:platform],
products: params[:products]
coupon_used: params[:coupon_used],
delivery_type: params[:delivery_type],
products: params[:products],
customer: params[:customer],
custom_properties: params[:custom_properties]
}
app_key = params[:app_key]
post("/apps/#{app_key}/purchases", request)
Expand Down

0 comments on commit 18501f5

Please sign in to comment.