Schema Documentation
CreateProductAddonInput
Description
Input for the createProductAddon mutation.
Fields
Input Field | Description |
---|---|
clientMutationId - String | This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. |
date - String | The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 |
menuOrder - Int | A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. |
password - String | The password used to protect the content of the object |
productCategories - ProductAddonProductCategoriesInput | Set connections between the ProductAddon and productCategories |
slug - String | The slug of the object |
status - PostStatusEnum | The status of the object |
title - String | The title of the object |
Example
{"clientMutationId":"abc123","date":"abc123","menuOrder":987,"password":"abc123","productCategories":ProductAddonProductCategoriesInput,"slug":"xyz789","status":"AUTO_DRAFT","title":"xyz789"}