TrieOH
UniventsAPIProducts

Get an edition product by vendor code

AIP custom method (`:verb` suffix per AIP-136). Fetches a product by its vendor code within the edition. Public.

GET/editions/{edition_id}/products/{vendor_code}:by-code

AIP custom method (:verb suffix per AIP-136). Fetches a product by its vendor code within the edition. Public.

Path Parameters

edition_id*string

Edition ID.

vendor_code*string

Product vendor code.

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/editions/497f6eca-6276-4993-bfeb-53cbbbba6f08/products/string:by-code"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
  "vendor_code": "string",
  "requires_registration": true,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "deleted_at": "2019-08-24T14:15:22Z"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 404,
  "title": "Not Found"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 500,
  "title": "Internal Server Error"
}