curl --request GET \
--url https://apix.us.amity.co/api/v1/products/{productId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"data": {
"_id": "64a1b2c3d4e5f6g7h8i9j0k1",
"productId": "prod-12345",
"networkId": "network-abc123",
"productName": "Premium Headphones",
"productUrl": "https://example.com/products/premium-headphones",
"status": "active",
"price": 99.99,
"currency": "USD",
"thumbnailUrl": "https://example.com/images/headphones-thumb.jpg",
"thumbnailMode": "fit",
"importSource": "manual",
"createdBy": "user-xyz789",
"updatedBy": "user-xyz789",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"isDeleted": false
}
}Retrieve a single product by its product ID.
Access Control:
curl --request GET \
--url https://apix.us.amity.co/api/v1/products/{productId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"data": {
"_id": "64a1b2c3d4e5f6g7h8i9j0k1",
"productId": "prod-12345",
"networkId": "network-abc123",
"productName": "Premium Headphones",
"productUrl": "https://example.com/products/premium-headphones",
"status": "active",
"price": 99.99,
"currency": "USD",
"thumbnailUrl": "https://example.com/images/headphones-thumb.jpg",
"thumbnailMode": "fit",
"importSource": "manual",
"createdBy": "user-xyz789",
"updatedBy": "user-xyz789",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"isDeleted": false
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the product
1 - 100