curl --request GET \
--url https://skycoach.gg/api/shop/marketplace/products/{productId} \
--header 'Accept: <accept>' \
--header 'Authorization: Bearer <token>'{
"result": {
"id": 61,
"title": "Marvel Rivals Accounts",
"step_size": 1,
"meta": null,
"is_active": true,
"is_active_for_pro": true,
"marketplace_type": 2,
"related_product": [
{}
],
"product_fields": [
{
"id": 198,
"parent_id": null,
"product_id": 61,
"is_inline": false,
"is_filter": false,
"is_required": true,
"title": "Platform",
"placeholder": "Platform",
"component_view": 5,
"priority": 2,
"deleted_at": null,
"parent_value_id": null,
"default_value_id": null,
"is_primary": true,
"component_edit": 2,
"has_custom_value": false,
"has_values_counter": false,
"component_view_data": {},
"component_edit_data": {},
"is_hidden": false,
"ranking_weight": 0,
"is_show_in_tags": false,
"title_for_primary": null,
"title_for_tags": null,
"is_sort_values_by_priority": false,
"product_field_values": [
{
"id": 1,
"product_field_id": 198,
"value": "PC",
"priority": 1,
"deleted_at": null,
"additional_value": null
}
]
}
]
}
}curl --request GET \
--url https://skycoach.gg/api/shop/marketplace/products/{productId} \
--header 'Accept: <accept>' \
--header 'Authorization: Bearer <token>'{
"result": {
"id": 61,
"title": "Marvel Rivals Accounts",
"step_size": 1,
"meta": null,
"is_active": true,
"is_active_for_pro": true,
"marketplace_type": 2,
"related_product": [
{}
],
"product_fields": [
{
"id": 198,
"parent_id": null,
"product_id": 61,
"is_inline": false,
"is_filter": false,
"is_required": true,
"title": "Platform",
"placeholder": "Platform",
"component_view": 5,
"priority": 2,
"deleted_at": null,
"parent_value_id": null,
"default_value_id": null,
"is_primary": true,
"component_edit": 2,
"has_custom_value": false,
"has_values_counter": false,
"component_view_data": {},
"component_edit_data": {},
"is_hidden": false,
"ranking_weight": 0,
"is_show_in_tags": false,
"title_for_primary": null,
"title_for_tags": null,
"is_sort_values_by_priority": false,
"product_field_values": [
{
"id": 1,
"product_field_id": 198,
"value": "PC",
"priority": 1,
"deleted_at": null,
"additional_value": null
}
]
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
API response format
application/json Product ID
123
Success. Returns single product matching PublicProductCurrencySettingResource.
Show child attributes