查詢集合 look-up-collection

集合是優惠方案的子集,根據行銷人員定義的預先定義條件,例如優惠方案類別。

您可以透過向以下網址發出GET請求來查詢特定集合: Offer Library 包含集合的API id 在請求路徑中。

API格式

GET /{ENDPOINT_PATH}/offer-collections/{ID}
參數
說明
範例
{ENDPOINT_PATH}
持續性API的端點路徑。
https://platform.adobe.io/data/core/dps/
{ID}
您要查閱之實體的ID。
offerCollection1234

要求

curl -X GET 'https://platform.adobe.io/data/core/dps/offer-collections/offerCollection1234' \
-H 'Accept: *,application/json' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {IMS_ORG}' \
-H 'x-sandbox-name: {SANDBOX_NAME}'

回應

成功的回應會傳回集合的詳細資料,包括有關您獨特集合的資訊 id.

{
        "created": "2022-09-16T18:59:23.063+00:00",
    "modified": "2022-09-16T18:59:23.063+00:00",
    "etag": 1,
    "schemas": [
        "https://ns.adobe.com/experience/offer-management/offer-filter;version=0.4"
    ],
    "createdBy": "{CREATED_BY}",
    "lastModifiedBy": "{MODIFIED_BY}",
    "id": "offerCollection1234",
    "name": "Test Collection with tags",
    "filterType": "any-tags",
    "ids": [
        "tag1234"
    ],
    "labels": [
        "core/C5",
        "custom/myLabel"
    ]
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76