---
schema_version: "1"
id: 8913b5d1c930e83b00d8d4d60c9020de0016e407b4f565397c8910a08c2e2609
title: isPromotionAndUserSameSalesOrg
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/copy_promotion_is_promotion_and_user_same.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/copy_promotion_is_promotion_and_user_same.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9e5f8b75f70f447b1f0d53bd22031efbb32850b38e43698b84123b0f3c5acf78
description: This method validates if the given promotion belongs to the same Salesorg where the user exists.
---
# isPromotionAndUserSameSalesOrg

This method validates if the given promotion belongs to the same Salesorg where the user exists.

## Input Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| promotionId | String | YES | ID of the promotion. |

## Input Sample

"source": {
    "class": "CopyPromotionWizardCallable",
    "method": "isPromotionAndUserSameSalesOrg",
    "cache": true,
    "params": {
        "promotionId": "{! promotionId }"
    }
}