Magidoc

createOrderOption
Mutation

Create a new order option.

Arguments

#

description

The description is a longer, human-readable description of the order option type or contents, intended for client display.

form

Contents must conform to ECHO Forms schema. See the ECHO Forms Specification for more information.

name

The name is a shortened name used to distinguish between other option definitions. This field must be unique per provider and is restricted to 30 characters.

nativeId

The native ID for the order option.

providerId

Non-null

The provider ID for the order option.

scope

There are two levels of order options, provider and system. Only administrators may add system level options and only providers may add provider level options.

sortKey

The sort key is used to indicate the preferred display order among other definitions

Response

#

Returns OrderOptionMutationResponse .

Example

#

    
  

3

    
  

3

    
  

3