Skip to content

Commit dec65e7

Browse files
committed
Updated API from documentation release
1 parent 71f39fc commit dec65e7

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

api-specs/api/examples/ShoppingList/ShoppingListLineItem.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"id": "ade85d60-736b-4ca8-87ed-01fde78f92c5",
33
"productId": "077bb11b-0d00-4e00-aced-48f493a79da0",
4+
"published": true,
45
"name": {
56
"en": "Product name"
67
},

api-specs/api/examples/shopping-list.example.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
{
1717
"id": "ade85d60-736b-4ca8-87ed-01fde78f92c5",
1818
"productId": "077bb11b-0d00-4e00-aced-48f493a79da0",
19+
"published": true,
1920
"name": {
2021
"en": "Product name"
2122
},

api-specs/api/types/shopping-list/ShoppingListLineItem.raml

+6
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ properties:
4646
type: ProductTypeReference
4747
description: |
4848
The Product Type defining the Attributes of the [Product](ctp:api:type:Product).
49+
published:
50+
type: boolean
51+
description: |
52+
Whether the related [Product](ctp:api:type:Product) is published or not.
53+
54+
This data is updated in an [eventual consistent manner](/general-concepts#eventual-consistency) when the Product's published status changes.
4955
quantity:
5056
type: number
5157
format: int64

api-specs/graphql/schema.sdl

+1
Original file line numberDiff line numberDiff line change
@@ -13688,6 +13688,7 @@ type ShoppingListLineItem {
1368813688
variantId: Int
1368913689
productTypeRef: Reference!
1369013690
productType: ProductTypeDefinition!
13691+
published: Boolean!
1369113692
quantity: Int!
1369213693
addedAt: DateTime!
1369313694
name(

0 commit comments

Comments
 (0)