Create or Update custom prices schema

Creates a new custom price for a shopping scenario or updates an existing one

Request body has the following properties:

Attribute

Type

Description

fields

array of objects

Order Configuration criteria

name

string

Criteria name

type

string

Criteria type

useEmail

boolean

Defines if the custom price should use the user's email to validate it

Request body example:

{
  "fields": [
    {
      "name": "orderType",
      "type": "string"
    },
    {
      "name": "state",
      "type": "string"
    }
  ],
    "useEmail": true
}

Response body has the following properties:

Attribute

Type

Description

fields

array of objects

Order Configuration criteria

name

string

Criteria name

type

string

Criteria type

useEmail

boolean

Defines if the custom price should use the user's email to validate it

Response body example:

{
  "fields": [
    {
      "name": "orderType",
      "type": "string"
    },
    {
      "name": "state",
      "type": "string"
    }
  ],
    "useEmail": true
}
Language
URL
Click Try It! to start a request and see the response here!