---
title: Create a Selection Strategy
slug: lab612-2025/create-a-selection-strategy
docTags: 
createdAt: 2025-02-28T19:17:28.342Z
---

Each code-based Experience Decision delivery is defined by a Selection Strategy. A Selection Strategy defines what eligibility criteria to use and which Item Collection to apply it to.

# Request

Request Type: POST

Endpoint: `https://platform.adobe.io/data/core/dps/selection-strategies/`

### Headers

| Key             | Value                                                                                                                |
| --------------- | -------------------------------------------------------------------------------------------------------------------- |
| Authorization   | Bearer \<VARIES>                                                                                                     |
| x-api-key       | \<VARIES> (e.g. 1234b8e8cd0a48918412d22dd9b01234)                                                                    |
| x-gw-ims-org-id | 59C7440F5DE147EA0A495EB3\@AdobeOrg                                                                                   |
| accept          | application/json                                                                                                     |
| Content-Type    | application/json                                                                                                     |
| x-sandbox-name  | \<VARIES> (e.g. lab612-01)                                                                                           |
| x-schema-id     | \<VARIES> (e.g. https\://ns.adobe.com/adobedemoamericas275/schemas/dc5b593541543883856ef0f29f35923ad24a963d5ff35646) |



### Request Parameters

| Parameter             | Example                                 | Type    | Description                                                                                                 | Required |
| --------------------- | --------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------- | -------- |
| name                  | `Credit Card Offer Strategy`            | string  | the description of the selection strategy                                                                   | YES      |
| rank                  |                                         | object  | object containing rank of the strategy; only relevant when used in a group of selection strategies          | YES      |
| priority              | `1`                                     | integer | rank within a selection strategy grouping                                                                   | YES      |
| order                 |                                         | object  | method of ranking individual decision items against other items if combined with a selection strategy group | YES      |
| orderEvaluationType   | `static`                                | string  | order/ranking method                                                                                        | YES      |
| profileConstraint     |                                         | object  | method by which to contrain which profiles qualify for the strategy                                         | NO       |
| profileConstraintType | `eligibilityRule`                       | string  | selection of a rule or ranking method                                                                       |          |
| eligibilityRule       | `dps:eligibility-rule:1a4c3c6495f373f2` | string  | the ID of the rule or ranking method being applied                                                          |          |
| optionSelection       |                                         |         | contains the item collection that the strategy applies to                                                   |          |
| filter                | `dps:item-collection:1a4e5a3813ef66e5`  | string  | the ID of the item collection                                                                               |          |

### Request Body

```json
{
    "name": "Test Strategy3",
    "rank": {
        "priority": 1,
        "order": {
            "orderEvaluationType": "static"
        }
    },
    "profileConstraint": {
        "profileConstraintType": "eligibilityRule",
        "eligibilityRule": "dps:eligibility-rule:1a4c3c6495f373f2"
    },
    "optionSelection": {
        "filter": "dps:item-collection:1a4e5a3813ef66e5"
    }
}
```

### Relevant Response Parameters

| Attribute | Example                                   | Description                                                       |
| --------- | ----------------------------------------- | ----------------------------------------------------------------- |
| id        | `dps:selection-strategy:1a5341818cb4a8b6` | the ID of the selection strategy                                  |
| sandboxId | `71795633-d212-4495-b956-33d212849517`    | the ID of the sandbox in which the selection strategy was created |

### Response Body

```json
{
    "id": "dps:selection-strategy:1a5341818cb4a8b6",
    "sandboxId": "71795633-d212-4495-b956-33d212849517",
    "etag": 1,
    "createdDate": "2025-03-04T14:33:01.171Z",
    "lastModifiedDate": "2025-03-04T14:33:01.171Z",
    "createdBy": "6D465E8F602FC3B10A495FC5@techacct.adobe.com",
    "lastModifiedBy": "6D465E8F602FC3B10A495FC5@techacct.adobe.com",
    "createdByClientId": "c4a0b8e8cd0a48918412d22dd9b0c7f5",
    "lastModifiedByClientId": "c4a0b8e8cd0a48918412d22dd9b0c7f5"
}
```

