Authentication v1
- Identity APIs
- User
- Address
- Auth
User Self Service APIs
- Introduction
- User Self Service APIs
- Authentication APIs
Experiences v2 (XM v2)
- XM
- Pages
- Global Components
- Menu
Experiences v1 (XM v1)
- XM
- Pages
- Global Components
- Menu
Product Catalog
- Product Catalog
- Category
- Product
- Attributes
- Bulk Import
Orders v2 (OMS v2)
- Order Management System
- Order
- Order Attribute
- Developer Guide
- Order Return
- Payment Status
- Package Tracking
- Cross Border
- Order Cancellation
- Appeasement
- Allocation
- Configuration
- Fraud Configuration
- Target Configuration
- Location
- Location Attribute
- Inventory Network
- Inventory
- Inventory Counter
- Inventory Bulk Operation
- Inventory Attribute
- Inventory Upload Log
- Shipment
- Shipping Method
- Webhook
- Notification
- Export
- Invoice
- Fraud
- Backorder Preorder Reservation
- List
Orders v1 (OMS v1)
- Order Management System
- Cart
- Bill To
- Ship To
- Wishlist
- Cart Decoupled
- Warehouse
- Inventory
- Attributes
- List
- Tax/Address Validate
- Shipping
- Payments
- Order
Offers v2
- Offers
- Developer Guide
- Promotion
- Price Kind
- Dynamic Pricing Engine
- Segment
- Coupon
- Coupon Codes
- Product
- Price List
- Attributes
- Item
- Price Guard
- Global Exclusion
- Upload Price CSV
- Pricing
- Redemption
- Exports
Offers v1
- Offers
- Login API
- Promotions
- Pricing
Subscriptions (SMT API)
- Subscriptions API
- Cancellation Reasons
- Subscription Discounts
- Subscriptions
- Subscribers
- Orders
Loyalty (Member)
- Member APIs
- Inquire
- Discounts
- Redeem
- Earn
- Members
Dropship
- Dropship API
- Shipments
- Products
- Invoices
- Connections
- Inventory
- Developer Guide
- Returns
- Orders
Cart API
- Cart
- Order Draft
- Attribute
- Adjustments
- Shipping
- Cart
Checkout API
- Checkout
- Checkout
Customer
- Core Concepts
- Customer Service
- Organization
- User Party
- Organization Group Addresses
- User Internal Party
- Organization Contracts
- Party
- Party Contracts
- Contracts
- User
- Search
- User Trait
- Organization Users
- Address
- User Address
- Trait
- Party Address
- Party Trait
- Organization Group Users
- Internal Party
- Contract Pricelist
- Internal Parties Party
- Account
- Party Account
- Organization Addresses
- Organization Groups
- Individual Addresses
- Users Organization
- Individual
Promotions
Get Promotions by promotion ID
Retrieves details of a specific promotion based on the specified promotion ID.
GET
/
api-price
/
promo
/
{promoId}
curl --request GET \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-price/promo/{promoId} \
--header 'x-site-context: <x-site-context>'
{
"_id": "5ff58d31358319306ac05349",
"promoCodes": [
"updatePromoCode"
],
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "HURRY",
"startDate": "2020-12-03T09:30:00.965Z",
"endDate": "2020-12-03T18:30:00.000Z",
"type": "PRODUCT",
"promo": [
{
"condition": [
"5fc8aedcdf91700008c62917"
],
"discount": [
{
"_id": "5f9be340dde1cd0008f96035",
"unit": "AMOUNT_OFF",
"value": 300,
"ON": {
"kind": "SKU",
"value": null
},
"id": "5f9be340dde1cd0008f96035",
"promoId": "5f9be340dde1cd0008f96034",
"promoCode": "300DOFF",
"promoTitle": "SKU 300 D off all skus",
"type": "COUPON"
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {},
"limits": {
"_id": "603eae614b40770007494683",
"kind": "PER_USER",
"value": 4,
"id": "603eae614b40770007494683"
},
"promoId": 1422,
"termsAndConditions": {
"_id": "5fc8ad76969f071ff85221e4",
"title": "Entering a Coupon",
"description": "Each coupon is identified by a code and has different rewards. The claimant can decide the reward desired during the booking phase whilst being bound by the conditions linked to the redemption of the coupon."
},
"createdAt": "2021-01-06T10:13:05.169Z",
"updatedAt": "2021-01-06T10:36:41.038Z",
"__v": 0
}
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Example:
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
Get promotions based on promotion ID
Response
200
application/json
Successfull
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-price/promo/{promoId} \
--header 'x-site-context: <x-site-context>'
{
"_id": "5ff58d31358319306ac05349",
"promoCodes": [
"updatePromoCode"
],
"state": "ACTIVE",
"isImplicit": false,
"isExclusive": false,
"title": "HURRY",
"startDate": "2020-12-03T09:30:00.965Z",
"endDate": "2020-12-03T18:30:00.000Z",
"type": "PRODUCT",
"promo": [
{
"condition": [
"5fc8aedcdf91700008c62917"
],
"discount": [
{
"_id": "5f9be340dde1cd0008f96035",
"unit": "AMOUNT_OFF",
"value": 300,
"ON": {
"kind": "SKU",
"value": null
},
"id": "5f9be340dde1cd0008f96035",
"promoId": "5f9be340dde1cd0008f96034",
"promoCode": "300DOFF",
"promoTitle": "SKU 300 D off all skus",
"type": "COUPON"
}
],
"targetProducts": [
{
"kind": "SKU",
"value": "*",
"operator": "IN"
}
]
}
],
"extra": {},
"limits": {
"_id": "603eae614b40770007494683",
"kind": "PER_USER",
"value": 4,
"id": "603eae614b40770007494683"
},
"promoId": 1422,
"termsAndConditions": {
"_id": "5fc8ad76969f071ff85221e4",
"title": "Entering a Coupon",
"description": "Each coupon is identified by a code and has different rewards. The claimant can decide the reward desired during the booking phase whilst being bound by the conditions linked to the redemption of the coupon."
},
"createdAt": "2021-01-06T10:13:05.169Z",
"updatedAt": "2021-01-06T10:36:41.038Z",
"__v": 0
}
Assistant
Responses are generated using AI and may contain mistakes.