Intake APIs are available for the following actions in Product Catalog:
- Creating, retrieving, and updating
- Products and product rules sets
- Bundles and bundle rules sets
- Work units
- Discontinuing
- Products and product rules sets
- Bundles and bundle rules sets
- Releasing work units
To try out these APIs, visit the bundles endpoints page, the products endpoints page, and the work unit endpoints page.
Create Products and Product Rule Sets
Use the Create Product request to add products and optional product rules set(s) to a catalog.
| Content of Create Product Request | Method | Path (used for authorization) |
|---|---|---|
In the body of the request:
| POST | /transition/intake/products/v1/airlines/{cxr}Note: Replace {cxr} with the catalog owner code |
📝 Products can also be created at the time a bundle is created.
Retrieve Products and Product Rule Sets
Use the Retrieve Product request to get product(s) and their product rules sets from a catalog.
| Content of Retrieve Product Request | Method | Path (used for authorization) |
|---|---|---|
| Retrieve by product key match fields In the body of the request:
| POST | /transition/intake/products/v1/airlines/{cxr}/criteriaNote: Replace {cxr} with the catalog owner code. This criteria may return multiple products. |
| Retrieve by catalog type and catalog owner In the request URL:
| GET | /transition/intake/products/v1/airlines/{type}{cxr}Note: Replace {type} with airline and {cxr} with the catalog owner code. This criteria may return multiple products. |
| Retrieve by catalog owner and product record identifier In the request URL:
| GET | /transition/intake/products/v1/airlines/{cxr}/{recId}Notes:
|
*By default, the response returns distributed products only.
- To retrieve incomplete products as well, add
includeIncomplete=truein the request URL - To retrieve discontinued products that have not been purged yet, add
Discontinue=truein the request URL
Products are purged seven days after the Discontinue date - To retrieve Intake/API data only or auto-populated data only, add
createdViacreatedVia=apicreatedVia=autopopulate
Update Products and Product Rule Sets
Use the Update Product request to update product(s) and their product rules sets.
- Products created with the Intake API can be updated.
- Products created with the auto-populate process cannot be updated
| Content of Update Product Request | Method | Path (used for authorization) |
|---|---|---|
| Update by product key match fields In the body of the request:
| PATCH | /transition/intake/products/v1/airlines/{cxr}/updatesNote: Replace {cxr} with the catalog owner code |
| Update by catalog owner and product record identifier In the body of the request:
| PATCH | /transition/intake/products/v1/airlines/{cxr}/{recId}Notes:
|
Types of Product Updates
| Type of Product Update | Action |
|---|---|
| Update a product element |
|
| Add a product rules set | In the request, list the:
productRulesSetIdOwnerDefined fields and the applicable data. |
| Replace a product rules set | In the request, list the:
productRulesSetIdOwnerDefined fields and new data. |
| Remove a product rules set | In the request, list the:
|
Discontinue Products
Use the Discontinue Product request to discontinue product(s) and their product rules sets from a catalog.
- One product at a time can be discontinued.
- A product that is associated with a bundle cannot be discontinued. The product must first be disassociated from the bundle.
| Content of Discontinue Product Request | Method | Path (used for authorization) |
|---|---|---|
| Discontinue by product key match fields In the body of the request:
| POST | /transition/intake/products/v1/airlines/{cxr}/discontinuationsNote: Replace {cxr} with the catalog owner code |
| Discontinue by catalog owner and product record identifier In the request URL:
| DELETE | /transition/intake/products/v1/airlines/{cxr}/{recId}Notes:
|
Product Key Match Fields
Following is a list of product key match fields.
📝 Multiple product key match fields may be required to uniquely identify a product.
Limitations apply to the number of products that can be retrieved.
| Product Key Match Field | Uniquely Identifies a Product | Description |
|---|---|---|
recIdproductRecId* | Yes |
|
serviceIdRFISC* |
|
|
serviceIdOwnerDefined* | Yes |
|
serviceIdAmenityType | No |
|
serviceIdSSRCode |
|
|
serviceIdDCSCode |
|
|
serviceIdPADISCode |
|
|
type* | No |
|
*Use these fields when retrieving a bundle by product key match fields.