Price List User Error
Requires access scope. Also: The user must have permission to view catalogs.
Error codes for failed contextual pricing operations.
Anchor to FieldsFields
- Anchor to codecode•Price
List User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Creates a price list. You can use the
mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing.
- Anchor to inputinput•Price
List Create Input!required The properties of the new price list.
Arguments
- Anchor to priceListprice•Price
List List The newly created price list.
- Anchor to userErrorsuser•[Price
Errors List User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market.
- •ID!required
The ID of the price list to be deleted.
Arguments
- Anchor to deletedIddeleted•ID
Id The ID of the deleted price list.
- Anchor to userErrorsuser•[Price
Errors List User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a price list. If you modify the currency, then any fixed prices set on the price list will be deleted.
- •ID!required
The ID of the price list to update.
- Anchor to inputinput•Price
List Update Input!required The input data used to update the price list.
Arguments
- Anchor to priceListprice•Price
List List The updated price list.
- Anchor to userErrorsuser•[Price
Errors List User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields