POST
/
products
/
link
curl --request POST \
  --url https://api.ioniccommerce.com/products/link \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "idempotency_key": "<string>",
  "reference_id": "<string>",
  "user_details": {
    "id": "<string>",
    "email": "<string>",
    "postal_code": "<string>"
  },
  "client_details": {
    "ip": "<string>",
    "user_agent": "<string>"
  },
  "query": {
    "q": "<string>"
  },
  "product": {
    "reference_id": "<string>",
    "identifiers": {
      "sku": "<string>",
      "gtin": "<string>",
      "ean": "<string>",
      "upc": "<string>",
      "asin": "<string>",
      "tcin": "<string>",
      "isbn": "<string>"
    },
    "title": "<string>",
    "link": "<string>",
    "price": {
      "amount": 123,
      "currency": "<string>"
    },
    "image_url": "<string>"
  },
  "log_only": true
}'
{
  "id": "<string>",
  "idempotency_key": "<string>",
  "reference_id": "<string>",
  "product": {
    "reference_id": "<string>",
    "links": {
      "original": "<string>",
      "tagged": "<string>"
    },
    "extensions": "<any>"
  }
}

Authorizations

x-api-key
string
headerrequired

Body

application/json
idempotency_key
string
reference_id
string
user_details
object
required
client_details
object
required
query
object
required
product
object
required
log_only
boolean
default: false

Response

200 - application/json
id
string
required
idempotency_key
string
reference_id
string
product
object
required