query GetScxOfferAttributes($offerId: ID!) {
GetScxOfferAttributes(offerId: $offerId) {
offerId
salesChannelId
categoryId
attributes {
attributeCode
displayName
origin
value
name
isTemplate
}
missingRequiredAttributes {
attributeCode
displayName
definedBy
section
subSection
}
}
}{
"offerId": "id"
}{
"data": {
"GetScxOfferAttributes": {
"offerId": "id",
"salesChannelId": "id",
"categoryId": "id",
"attributes": [
{
"attributeCode": "string",
"displayName": "string",
"origin": "SELLER",
"value": "string",
"name": "string",
"isTemplate": true
}
],
"missingRequiredAttributes": [
{
"attributeCode": "string",
"displayName": "string",
"definedBy": "SELLER",
"section": "string",
"subSection": "string"
}
]
}
}
}GetScxOfferAttributes
Delivers the attribute values in effect for a single offer, each with the scope it originates from, and the required attributes that are still missing. The request fails as not found if no offer with the given ID exists or if no seller that has not been deleted can be determined for the offer. It fails as a conflict if more than one seller that has not been deleted matches the offer.
GetScxOfferAttributes(offerId: ID!): ScxOfferAttributes!Arguments
ID of the offer whose attributes are to be retrieved.
Returns
ID of the offer.
Sales channel id of the seller the offer belongs to. Opaque, tenant-local composite identifier (not a UUID).
Category stored for the item of the offer, or null when the offer has no item or no category.
Values in effect for the offer, ordered ordinally by attribute code and then by reference group. Empty when the offer has no mapped value.
Required attributes without a mapped value, ordered ordinally by attribute code. Required variation dimensions are never reported here, so an empty list does not mean that every required attribute has a value.
query GetScxOfferAttributes($offerId: ID!) {
GetScxOfferAttributes(offerId: $offerId) {
offerId
salesChannelId
categoryId
attributes {
attributeCode
displayName
origin
value
name
isTemplate
}
missingRequiredAttributes {
attributeCode
displayName
definedBy
section
subSection
}
}
}{
"offerId": "id"
}{
"data": {
"GetScxOfferAttributes": {
"offerId": "id",
"salesChannelId": "id",
"categoryId": "id",
"attributes": [
{
"attributeCode": "string",
"displayName": "string",
"origin": "SELLER",
"value": "string",
"name": "string",
"isTemplate": true
}
],
"missingRequiredAttributes": [
{
"attributeCode": "string",
"displayName": "string",
"definedBy": "SELLER",
"section": "string",
"subSection": "string"
}
]
}
}
}Was this page helpful?