Get product details
Retrieve detailed information about a specific product including its detail, pricing, and media.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Path Parameters
product_id*integer
Product ID (WordPress post ID)
Response Body
application/json
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/products/0"{
"product": {
"ID": 0,
"post_date": "2019-08-24T14:15:22Z",
"post_date_gmt": "2019-08-24T14:15:22Z",
"post_content": "string",
"post_title": "string",
"post_excerpt": "string",
"post_status": "publish",
"comment_status": "string",
"ping_status": "string",
"post_name": "string",
"post_modified": "2019-08-24T14:15:22Z",
"post_modified_gmt": "2019-08-24T14:15:22Z",
"guid": "http://example.com",
"post_type": "string",
"thumbnail": "http://example.com",
"detail": {
"id": 0,
"post_id": 0,
"fulfillment_type": "digital",
"min_price": "string",
"max_price": "string",
"default_variation_id": 0,
"default_media": {},
"manage_stock": "0",
"stock_availability": "in-stock",
"variation_type": "simple",
"manage_downloadable": "string",
"other_info": {
"is_bundle_product": "string",
"active_editor": "string",
"sold_individually": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"featured_media": {},
"formatted_min_price": "string",
"formatted_max_price": "string",
"gallery_image": {}
}
}
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}{
"code": "fluent_cart_entity_not_found",
"message": "Order not found",
"data": {
"status": 404
}
}