Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.22 KB

catalog-quick-amounts-settings.md

File metadata and controls

46 lines (37 loc) · 1.22 KB

Catalog Quick Amounts Settings

A parent Catalog Object model represents a set of Quick Amounts and the settings control the amounts.

Structure

Catalog Quick Amounts Settings

Fields

Name Type Tags Description
option str (Catalog Quick Amounts Settings Option) Required Determines a seller's option on Quick Amounts feature.
eligible_for_auto_amounts bool Optional Represents location's eligibility for auto amounts
The boolean should be consistent with whether there are AUTO amounts in the amounts.
amounts List Catalog Quick Amount Optional Represents a set of Quick Amounts at this location.

Example (as JSON)

{
  "option": "AUTO",
  "eligible_for_auto_amounts": false,
  "amounts": [
    {
      "type": "QUICK_AMOUNT_TYPE_MANUAL",
      "amount": {
        "amount": 0,
        "currency": "MNT"
      },
      "score": 116,
      "ordinal": 48
    },
    {
      "type": "QUICK_AMOUNT_TYPE_MANUAL",
      "amount": {
        "amount": 0,
        "currency": "MNT"
      },
      "score": 116,
      "ordinal": 48
    }
  ]
}