GET
/api/v1/customer/swag-shop/products/{id}/get
This API method will return a single Swag Item response.
Request Parameters
None Required
Sample Response
{
"status": true,
"rewardHistoryId": "5",
"isFreeItem": false,
"item": {
"id": "nK8oWGj0zxqELP1A53ak",
"store_id": "l6yYk1WOeo7e2b78dD4j",
"store_name": "Bobs Warehouse",
"category_id": "LZWBJx0PmYkEwjGdr2vO",
"category_name": "New Category",
"name": "Swag T-Shirt",
"description": "",
"upc": "123456789",
"quantity": 40,
"short_description": "",
"main_image": "http:\/\/controlcenter.ftx\/swag-item\/images\/nK8oWGj0zxqELP1A53ak",
"images": [
"http:\/\/controlcenter.ftx\/swag-item\/images\/nK8oWGj0zxqELP1A53ak",
"http:\/\/controlcenter.ftx\/swag-item\/images\/QD59AxOJm2MenXb14Pw7"
],
"point_value": 100,
"points_needed": 0,
"rating": 0,
"review_count": 0,
"has_reviewed": 0,
"has_attributes": 1,
"max_per_purchase": 1,
"max_per_day": 1,
"total_daily_purchases": 0,
"has_purchased": 0,
"is_on_wishlist": 0,
"is_featured": 0,
"expiration_date": "2018-12-01 02:09:20",
"expiration_value": 2,
"expiration_type": 1,
"has_age_requirement": 1,
"age_required": 25,
"ship_type": 1,
"created_at": "2018-08-28 10:00:27",
"updated_at": "2018-08-28 10:00:27"
}
}Expiration Types:
0 = hours
1 = days
2 = weeks
3 = months
