@@ -41,7 +41,7 @@ properties:
41
41
description : |
42
42
Object of attributes for the task that are awaiting completion or require user input.
43
43
The keys of this object are attribute codes (e.g. "name", "description", "size"), and
44
- each value is an array of objects with locale and scope information .
44
+ each value is an array of objects with information on locale, scope, rejection status and comment .
45
45
This field is only included when `with_attributes=true`.
46
46
additionalProperties :
47
47
type : array
@@ -57,15 +57,21 @@ properties:
57
57
type : string
58
58
x-nullable : true
59
59
description : The scope (channel) code for the attribute value, null if the attribute is not scopable
60
+ rejected :
61
+ type : boolean
62
+ description : Whether this attribute value has been rejected
63
+ comment :
64
+ type : string
65
+ description : Comment explaining why the attribute value was rejected
60
66
example :
61
- " name " : [{"locale": null, "scope": null}]
67
+ " name " : [{"locale": null, "scope": null, "rejected": false }]
62
68
" description " : [
63
- {"locale": "en_US", "scope": "ecommerce"},
64
- {"locale": "fr_FR", "scope": "ecommerce"}
69
+ {"locale": "en_US", "scope": "ecommerce", "rejected": false },
70
+ {"locale": "fr_FR", "scope": "ecommerce", "rejected": true, "comment": "Typo in the description" }
65
71
]
66
72
" color " : [
67
- {"locale": "en_US", "scope": null},
68
- {"locale": "fr_FR", "scope": null}
73
+ {"locale": "en_US", "scope": null, "rejected": true },
74
+ {"locale": "fr_FR", "scope": null, "rejected": false }
69
75
]
70
76
_links :
71
77
type : object
0 commit comments