Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

GraphQL: Add staging attribute #8280

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/guides/v2.4/graphql/interfaces/category-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Attribute | Type | Description
`position` | Int | The position of the category relative to other categories at the same level in tree
`product_count` | Int | The number of products in the category that are marked as visible. By default, in complex products, parent products are visible, but their child products are not
`products(<attributes>)` | CategoryProducts | The list of products assigned to the category
`staged` | Boolean! | Indicates whether the category is staged for a future campaign

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description is not added in the code which we need to add, but its good that its available in the docs.

`updated_at` | String | Timestamp indicating when the category was updated
`url_key` | String | The URL key assigned to the category
`url_path` | String | The URL path assigned to the category
Expand Down
1 change: 1 addition & 0 deletions src/guides/v2.4/graphql/interfaces/product-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Attribute | Data type | Description
`special_from_date` | String | The beginning date that a product has a special price
`special_price` | Float | The discounted price of the product
`special_to_date` | String | The end date that a product has a special price
`staged` | Boolean! | Indicates whether the product is staged for a future campaign
`stock_status` | ProductStockStatus | The status of the stock. `ProductStockStatus` is an enumeration that can have the value of `IN_STOCK` or `OUT_OF_STOCK`. This attribute is defined in the `InventoryGraphQl` module.
`swatch_image` | String | The file name of a swatch image. This attribute is defined in the `SwatchesGraphQl` module.
`tax_class_id` | Int | An ID assigned to a tax class. This attribute is defined in the `TaxGraphQl` module.
Expand Down