set the import file to be BBOX-5087_t6_import.csv
subscription_id,box_product_id,shipping_method_code,country_code
973666,13274,SP,US
934390,13225,SP,US
1266647,13252,SP,US
where 973666 has two gws, 934390 has one gws and 1266647 has one bbp
set the import file to be BBOX-5087_t6_import.csv
subscription_id,box_product_id,shipping_method_code,country_code
973666,13274,SP,US
934390,13225,SP,US
1266647,13252,SP,US
where 973666 has two gws, 934390 has one gws and 1266647 has one bbp
controller
# hits https://github.com/birchbox/birchbox/blob/1d9dd77c1a060de8efdcd04ffd730e04a885e0ed/shop/app/code/local/Birchbox/Reward/controllers/BoxController.php#L10
def share_box
response = current_user.box_history.find(params[:box_id]).share_box(current_user.session_id)
if response["success"]
respond_with current_user.decorate
else
render :json => { :errors => response["message"] }, :status => response["status_code"]
| { | |
| "_links": { | |
| "self": { | |
| "href": "/products/20953" | |
| } | |
| }, | |
| "box_feature_image": { | |
| "height": 528, | |
| "url": "https://www.birchbox.com/shop/media/catalog/product/cache/1/small_image/640x/9df78eab33525d08d6e5fb8d27136e95/p/e/peripera_peristinthouse_red_set_900x900_1.jpg", | |
| "width": 640 |