Skip to main content
GET
/
api
/
v1
/
products
/
{productId}
Get product by ID
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string
required

The unique identifier of the product

Required string length: 1 - 100

Response

Successful response with product data

status
string
Example:

"success"

data
object