Skip to content

POST Product Details

Base URLs

Demo URL: https://demoapi.openletterconnect.com/api/v1

Production URL: https://api.openletterconnect.com/api/v1

{{base_url}}/products/details

Description

This endpoint is used to retrieve detailed information about specific products based on the provided product type. By specifying the product type, you can access various attributes such as delivery duration, envelope types, postage types, paper types, delivery types, and sizes associated with that product. The response will include comprehensive details about the specified product type.

AUTHORIZATION

Bearer Token

  • Token: {{jwt_token}}

Bode raw

{
    "productType": "Personal Letters"
}

Example Request

curl --location -g '{{base_url}}/products/details' \
--data '{
    "productType": "Personal Letters"
}'

Example Response

{
  "message": "Success",
  "data": {
    "productType": "Personal Letters",
    "deliveryDuration": {
      "First Class": "(1-5 business days)",
      "Standard Class": "(7-21 business days)",
      "First Class Forever": "(1-5 business days)"
    },
    "envelopeType": [
      "A6 Grey Herringbone",
      "A6 Solid Color"
    ],
    "postageType": [
      "Live"
    ],
    "paperType": [
      "60# Statement"
    ],
    "deliveryType": [
      "First Class",
      "Standard Class"
    ],
    "paperSize": [
      "5.5x8.5"
    ]
  }
}