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 Bundles and Bundle Rules Sets
Use the Create Bundle request to add bundles, optional bundles rules set(s) to a catalog.
When you create a bundle, you can also do the following in the same request:
- Associate existing products to the bundle
- Create products and their product rules sets and associate them to the bundle
| Content of Create Bundle 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. |
Retrieve Bundles and Bundle Rules Sets
Use the Retrieve Bundle request to get bundle(s) and their bundle rules sets from a catalog.
| Content of Retrieve Bundle Request | Method | Path (used for authorization) |
|---|---|---|
| Retrieve by bundle or product key match fields In the body of the request:
See * below | POST | /transition/intake/bundles/v1/airlines/{cxr}/criteriaNote: Replace {cxr} with the catalog owner code.This criteria may return multiple bundles. |
| Retrieve by catalog type and catalog owner In the body of the request:
See * below | POST | /transition/intake/bundles/v1/airlines/{cxr}/criteriaNote: Replace {cxr} with the catalog owner code.This criteria may return multiple bundles. |
| Retrieve by catalog owner and bundle record identifier In the request URL:
See * below | GET | /transition/intake/bundles/v1/airlines/{cxr}/{recId}Notes:
|
*By default, the response returns distributed products only.
- To retrieve incomplete bundles as well, add
includeIncomplete=truein the request URL. - To retrieve discontinued bundles that have not been purged yet, add
Discontinue=truein the request URL.
Bundles are purged seven days after the Discontinue date. - To retrieve Intake/API data only or auto-populated data only, add
createdViacreatedVia=apicreatedVia=autopopulate
📝 If a retrieved bundle was created via the Intake API, it will have at least two products.
If a retrieved bundle was created with the auto-populate process from the Branded Fares application, it may have fewer than two products. Such bundles contain a field named “nonBundleBrand = X.”
Update Bundles and Bundle Rules Sets
Use the Update Bundle request to update bundles(s) and their bundle rules sets.
- Bundles created with the Intake API can be updated.
- Bundles created with the auto-populate process cannot be updated.
| Content of Update Bundle Request | Method | Path (used for authorization) |
|---|---|---|
| Update by bundle key match fields In the body of the request:
| PATCH | /transition/intake/bundles/v1/airlines/{cxr}/updatesNote: Replace {cxr} with the catalog owner code. |
| Update by catalog owner and bundle record identifier In the body of the request:
| PATCH | /transition/intake/bundles/v1/airlines/{cxr}/{recId}Notes:
|
Types of Bundle Updates
| Type of Bundle Update | Action |
|---|---|
| Update a bundle element |
|
| Add a bundle rules set | In the request, list the:
bundleRulesSetIdOwnerDefined fields and the applicable data. |
| Replace a bundle rules set | In the request, list the:
bundleRulesSetIdOwnerDefined fields and new data. |
| Remove a bundle rules set | In the request, list the:
|
| Associate an distributed product to a bundle | In the request list the:
|
| Create a product and associate it to a bundle | In the request list the:
|
| Disassociate a product from a bundle | In the request list the:
|
Discontinue Bundles
Use the Discontinue Bundle request to discontinue bundles(s) and their bundle rules sets from a catalog.
- One bundle at a time can be discontinued.
- Before a bundle can be discontinued, its associated products must be disassociated from it.
| Bundle Discontinue Option | Method | Path (used for authorization) |
|---|---|---|
| Discontinue by bundle key match fields In the body of the request:
| POST | /transition/intake/bundles/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/bundles/v1/airlines/{cxr}/{recId}Notes:
|
Bundle Key Match Fields
Following is a list of bundle key match fields. Using key match fields is one option for retrieving products.
📝 Multiple bundle key match fields may be required to uniquely identify a bundle.
Limitations apply to the number of bundles that can be retrieved.
| Bundle Key Match Field | Uniquely Identifies a Bundle | Description |
|---|---|---|
recId | Yes |
|
bundleCode | No* |
|
bundleName | No* |
|
bundleCodeOwnerDefined | Yes |
|
*When an API request contains this field, other key match fields must be provided to ensure that the bundle can be uniquely identified