{
  "info": {
    "_postman_id": "87f31dd6-86d6-5d69-8d08-7f0c40bd7f63",
    "name": "Saleya Integration API v1",
    "description": "Connect an ERP, accounting system, marketplace or your own service to a store. Every request carries an app token, and the token determines the store.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.saleya.app/v1"
    },
    {
      "key": "token",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Basics",
      "item": [
        {
          "name": "App and token",
          "description": "Who the token speaks for: the app, its scopes, locations and rate limits. The first call of an integration: it shows the token works and which scopes it lacks.",
          "item": [
            {
              "name": "Get the app behind the token, its access and rate limits",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "me"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/me/#me-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Store",
          "description": "What every other response is read with: the currency of money amounts, the time zone of calendar dates and the languages of the content.",
          "item": [
            {
              "name": "Get the store: currency, time zone and languages",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/store",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "store"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/store/#store-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Locations",
          "description": "Locations of the store: shops, warehouses, kitchens and pickup points. Stock, orders and pickup refer to them.",
          "item": [
            {
              "name": "List the store locations available to the app",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/locations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "locations"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/locations/#locations-list"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Catalog",
      "item": [
        {
          "name": "Categories",
          "description": "Catalog categories as a flat list: the tree is built by parent_id. Created, changed, archived and matched by external ID.",
          "item": [
            {
              "name": "List catalog categories changed since a given time",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-list"
              },
              "response": []
            },
            {
              "name": "Create a catalog category",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"parent_id\": \"<integer>\",\n  \"position\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a catalog category",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories/:category",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories",
                    ":category"
                  ],
                  "variable": [
                    {
                      "key": "category",
                      "value": "",
                      "description": "ID of the category."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-get"
              },
              "response": []
            },
            {
              "name": "Change a catalog category",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories/:category",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories",
                    ":category"
                  ],
                  "variable": [
                    {
                      "key": "category",
                      "value": "",
                      "description": "ID of the category."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"parent_id\": \"<integer>\",\n  \"position\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Archive a catalog category",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories/:category",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories",
                    ":category"
                  ],
                  "query": [
                    {
                      "key": "consent[category_archive]",
                      "value": "",
                      "disabled": true,
                      "description": "Archiving the category unlinks its products, moves its subcategories up and removes it from print routes, discounts and collections."
                    }
                  ],
                  "variable": [
                    {
                      "key": "category",
                      "value": "",
                      "description": "ID of the category."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-delete"
              },
              "response": []
            },
            {
              "name": "Get a catalog category by its external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or change a catalog category by its external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/categories/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "categories",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/categories/#categories-upsert",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"parent_id\": \"<integer>\",\n  \"position\": \"<integer>\",\n  \"is_active\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Products",
          "description": "Product cards: names, descriptions, categories, options and photos. Variants have their own endpoints; a product is created and written together with them.",
          "item": [
            {
              "name": "List products: categories, options and media, without variants",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-list"
              },
              "response": []
            },
            {
              "name": "Create a product with its variants",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"short_description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"brand_id\": \"<integer>\",\n  \"tax_class_id\": \"<integer>\",\n  \"category_ids\": [\n    \"<integer>\"\n  ],\n  \"primary_category_id\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"published_at\": \"<date-time>\",\n  \"unpublished_at\": \"<date-time>\",\n  \"sale_schedule\": [\n    {\n      \"days\": [\n        \"<integer>\"\n      ],\n      \"from\": \"<string>\",\n      \"to\": \"<string>\"\n    }\n  ],\n  \"type\": \"goods\",\n  \"stock_unit\": {\n    \"unit\": \"g\",\n    \"purchase_unit\": \"<string>\",\n    \"purchase_quantity\": \"<string>\"\n  },\n  \"external_id\": \"<string>\",\n  \"variants\": [\n    {\n      \"price\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a product",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-get"
              },
              "response": []
            },
            {
              "name": "Change a product card: fields, categories, external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"short_description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"brand_id\": \"<integer>\",\n  \"tax_class_id\": \"<integer>\",\n  \"category_ids\": [\n    \"<integer>\"\n  ],\n  \"primary_category_id\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"published_at\": \"<date-time>\",\n  \"unpublished_at\": \"<date-time>\",\n  \"sale_schedule\": [\n    {\n      \"days\": [\n        \"<integer>\"\n      ],\n      \"from\": \"<string>\",\n      \"to\": \"<string>\"\n    }\n  ],\n  \"external_id\": \"<string>\",\n  \"variants\": [\n    {\n      \"external_id\": \"<string>\",\n      \"sku\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"price\": \"<integer>\",\n      \"track_inventory\": \"<boolean>\",\n      \"is_active\": \"<boolean>\",\n      \"position\": \"<integer>\",\n      \"list_price\": \"<integer>\",\n      \"list_price_currency\": \"ARS\",\n      \"compare_at_price\": \"<integer>\",\n      \"weight_grams\": \"<integer>\",\n      \"length_mm\": \"<integer>\",\n      \"width_mm\": \"<integer>\",\n      \"height_mm\": \"<integer>\",\n      \"sale_starts_at\": \"<date-time>\",\n      \"sale_ends_at\": \"<date-time>\",\n      \"sold_by\": \"each\",\n      \"price_per_quantity\": \"<string>\",\n      \"measure_step\": \"<string>\",\n      \"min_measure_qty\": \"<string>\",\n      \"max_measure_qty\": \"<string>\",\n      \"net_content\": {\n        \"quantity\": \"<string>\",\n        \"unit\": \"g\"\n      },\n      \"barcodes\": [\n        {\n          \"type\": \"ean13\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"option_values\": [\n        {\n          \"option_id\": \"<integer>\",\n          \"value_id\": \"<integer>\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Archive a product with its variants",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product"
                  ],
                  "query": [
                    {
                      "key": "consent[recipe_ingredient]",
                      "value": "",
                      "disabled": true,
                      "description": "The item is an ingredient of live recipes and leaves them."
                    },
                    {
                      "key": "consent[production_draft]",
                      "value": "",
                      "disabled": true,
                      "description": "Draft production acts with the item are cancelled."
                    },
                    {
                      "key": "consent[program_menu]",
                      "value": "",
                      "disabled": true,
                      "description": "The dish leaves the menus of meal subscription programs."
                    },
                    {
                      "key": "consent[live_subscriptions]",
                      "value": "",
                      "disabled": true,
                      "description": "The program with live subscriptions is taken off sale."
                    }
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-delete"
              },
              "response": []
            },
            {
              "name": "Get a product by its external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or update a product with its variants by its external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-upsert",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"short_description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"description\": {\n    \"<key>\": \"<string>\"\n  },\n  \"slug\": \"<string>\",\n  \"brand_id\": \"<integer>\",\n  \"tax_class_id\": \"<integer>\",\n  \"category_ids\": [\n    \"<integer>\"\n  ],\n  \"primary_category_id\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"published_at\": \"<date-time>\",\n  \"unpublished_at\": \"<date-time>\",\n  \"sale_schedule\": [\n    {\n      \"days\": [\n        \"<integer>\"\n      ],\n      \"from\": \"<string>\",\n      \"to\": \"<string>\"\n    }\n  ],\n  \"type\": \"goods\",\n  \"stock_unit\": {\n    \"unit\": \"g\",\n    \"purchase_unit\": \"<string>\",\n    \"purchase_quantity\": \"<string>\"\n  },\n  \"variants\": [\n    {\n      \"external_id\": \"<string>\",\n      \"sku\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"price\": \"<integer>\",\n      \"track_inventory\": \"<boolean>\",\n      \"is_active\": \"<boolean>\",\n      \"position\": \"<integer>\",\n      \"list_price\": \"<integer>\",\n      \"list_price_currency\": \"ARS\",\n      \"compare_at_price\": \"<integer>\",\n      \"weight_grams\": \"<integer>\",\n      \"length_mm\": \"<integer>\",\n      \"width_mm\": \"<integer>\",\n      \"height_mm\": \"<integer>\",\n      \"sale_starts_at\": \"<date-time>\",\n      \"sale_ends_at\": \"<date-time>\",\n      \"sold_by\": \"each\",\n      \"price_per_quantity\": \"<string>\",\n      \"measure_step\": \"<string>\",\n      \"min_measure_qty\": \"<string>\",\n      \"max_measure_qty\": \"<string>\",\n      \"net_content\": {\n        \"quantity\": \"<string>\",\n        \"unit\": \"g\"\n      },\n      \"barcodes\": [\n        {\n          \"type\": \"ean13\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"option_values\": [\n        {\n          \"option_id\": \"<integer>\",\n          \"value_id\": \"<integer>\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Replace the product options and lay out its variants",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/options",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "options"
                  ],
                  "query": [
                    {
                      "key": "consent[variant_axes]",
                      "value": "",
                      "disabled": true,
                      "description": "Variants with the same combination are merged, and the variants named for the archive are archived together with their dependencies."
                    }
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/products/#products-replace-options",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"options\": [\n    {\n      \"key\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"values\": [\n        {\n          \"value\": {\n            \"<key>\": \"<string>\"\n          }\n        }\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"id\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Variants",
          "description": "What is actually sold and stocked: SKU, barcodes, prices, the unit and how it is sold. Variants change under the version of their product card.",
          "item": [
            {
              "name": "List product variants: SKU, barcodes, prices and units",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "product_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this product."
                    },
                    {
                      "key": "sku",
                      "value": "",
                      "disabled": true,
                      "description": "Only the variant with this SKU."
                    },
                    {
                      "key": "barcode",
                      "value": "",
                      "disabled": true,
                      "description": "Only variants with this barcode."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-list"
              },
              "response": []
            },
            {
              "name": "Add a variant to a product",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": \"<integer>\",\n  \"external_id\": \"<string>\",\n  \"sku\": \"<string>\",\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"price\": \"<integer>\",\n  \"track_inventory\": \"<boolean>\",\n  \"is_active\": \"<boolean>\",\n  \"position\": \"<integer>\",\n  \"list_price\": \"<integer>\",\n  \"list_price_currency\": \"ARS\",\n  \"compare_at_price\": \"<integer>\",\n  \"weight_grams\": \"<integer>\",\n  \"length_mm\": \"<integer>\",\n  \"width_mm\": \"<integer>\",\n  \"height_mm\": \"<integer>\",\n  \"sale_starts_at\": \"<date-time>\",\n  \"sale_ends_at\": \"<date-time>\",\n  \"sold_by\": \"each\",\n  \"price_per_quantity\": \"<string>\",\n  \"measure_step\": \"<string>\",\n  \"min_measure_qty\": \"<string>\",\n  \"max_measure_qty\": \"<string>\",\n  \"net_content\": {\n    \"quantity\": \"<string>\",\n    \"unit\": \"g\"\n  },\n  \"barcodes\": [\n    {\n      \"type\": \"ean13\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"option_values\": [\n    {\n      \"option_id\": \"<integer>\",\n      \"value_id\": \"<integer>\"\n    }\n  ],\n  \"stock_source_variant_id\": \"<integer>\",\n  \"stock_source_quantity\": \"<string>\",\n  \"sibling_name\": {\n    \"<key>\": \"<string>\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a product variant",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/:variant",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    ":variant"
                  ],
                  "variable": [
                    {
                      "key": "variant",
                      "value": "",
                      "description": "ID of the variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-get"
              },
              "response": []
            },
            {
              "name": "Update a product variant",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/:variant",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    ":variant"
                  ],
                  "query": [
                    {
                      "key": "consent[measure_change]",
                      "value": "",
                      "disabled": true,
                      "description": "The variant changes how it is sold (by the piece or by measure): its stock, prices and limits are converted."
                    },
                    {
                      "key": "consent[piece_mode_off]",
                      "value": "",
                      "disabled": true,
                      "description": "The packs of the variant are archived when it stops being sold in packs."
                    },
                    {
                      "key": "consent[stock_source]",
                      "value": "",
                      "disabled": true,
                      "description": "The own stock of the variant moves to its base variant, and it sells from the base from now on."
                    },
                    {
                      "key": "consent[program_menu]",
                      "value": "",
                      "disabled": true,
                      "description": "The dish leaves the menus of meal subscription programs."
                    }
                  ],
                  "variable": [
                    {
                      "key": "variant",
                      "value": "",
                      "description": "ID of the variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"external_id\": \"<string>\",\n  \"sku\": \"<string>\",\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"price\": \"<integer>\",\n  \"track_inventory\": \"<boolean>\",\n  \"is_active\": \"<boolean>\",\n  \"position\": \"<integer>\",\n  \"list_price\": \"<integer>\",\n  \"list_price_currency\": \"ARS\",\n  \"compare_at_price\": \"<integer>\",\n  \"weight_grams\": \"<integer>\",\n  \"length_mm\": \"<integer>\",\n  \"width_mm\": \"<integer>\",\n  \"height_mm\": \"<integer>\",\n  \"sale_starts_at\": \"<date-time>\",\n  \"sale_ends_at\": \"<date-time>\",\n  \"sold_by\": \"each\",\n  \"price_per_quantity\": \"<string>\",\n  \"measure_step\": \"<string>\",\n  \"min_measure_qty\": \"<string>\",\n  \"max_measure_qty\": \"<string>\",\n  \"net_content\": {\n    \"quantity\": \"<string>\",\n    \"unit\": \"g\"\n  },\n  \"barcodes\": [\n    {\n      \"type\": \"ean13\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"option_values\": [\n    {\n      \"option_id\": \"<integer>\",\n      \"value_id\": \"<integer>\"\n    }\n  ],\n  \"stock_source_variant_id\": \"<integer>\",\n  \"stock_source_quantity\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Archive a product variant",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/:variant",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    ":variant"
                  ],
                  "query": [
                    {
                      "key": "consent[recipe_ingredient]",
                      "value": "",
                      "disabled": true,
                      "description": "The item is an ingredient of live recipes and leaves them."
                    },
                    {
                      "key": "consent[production_draft]",
                      "value": "",
                      "disabled": true,
                      "description": "Draft production acts with the item are cancelled."
                    },
                    {
                      "key": "consent[program_menu]",
                      "value": "",
                      "disabled": true,
                      "description": "The dish leaves the menus of meal subscription programs."
                    },
                    {
                      "key": "consent[stock_dependents]",
                      "value": "",
                      "disabled": true,
                      "description": "Packs drawing from the stock of this variant become ordinary variants with zero stock."
                    }
                  ],
                  "variable": [
                    {
                      "key": "variant",
                      "value": "",
                      "description": "ID of the variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-delete"
              },
              "response": []
            },
            {
              "name": "Get a product variant by its external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or update a variant by its external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    "by-external-id",
                    ":external_id"
                  ],
                  "query": [
                    {
                      "key": "consent[measure_change]",
                      "value": "",
                      "disabled": true,
                      "description": "The variant changes how it is sold (by the piece or by measure): its stock, prices and limits are converted."
                    },
                    {
                      "key": "consent[piece_mode_off]",
                      "value": "",
                      "disabled": true,
                      "description": "The packs of the variant are archived when it stops being sold in packs."
                    },
                    {
                      "key": "consent[stock_source]",
                      "value": "",
                      "disabled": true,
                      "description": "The own stock of the variant moves to its base variant, and it sells from the base from now on."
                    },
                    {
                      "key": "consent[program_menu]",
                      "value": "",
                      "disabled": true,
                      "description": "The dish leaves the menus of meal subscription programs."
                    }
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-upsert",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"product_id\": \"<integer>\",\n  \"sku\": \"<string>\",\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"price\": \"<integer>\",\n  \"track_inventory\": \"<boolean>\",\n  \"is_active\": \"<boolean>\",\n  \"position\": \"<integer>\",\n  \"list_price\": \"<integer>\",\n  \"list_price_currency\": \"ARS\",\n  \"compare_at_price\": \"<integer>\",\n  \"weight_grams\": \"<integer>\",\n  \"length_mm\": \"<integer>\",\n  \"width_mm\": \"<integer>\",\n  \"height_mm\": \"<integer>\",\n  \"sale_starts_at\": \"<date-time>\",\n  \"sale_ends_at\": \"<date-time>\",\n  \"sold_by\": \"each\",\n  \"price_per_quantity\": \"<string>\",\n  \"measure_step\": \"<string>\",\n  \"min_measure_qty\": \"<string>\",\n  \"max_measure_qty\": \"<string>\",\n  \"net_content\": {\n    \"quantity\": \"<string>\",\n    \"unit\": \"g\"\n  },\n  \"barcodes\": [\n    {\n      \"type\": \"ean13\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"option_values\": [\n    {\n      \"option_id\": \"<integer>\",\n      \"value_id\": \"<integer>\"\n    }\n  ],\n  \"stock_source_variant_id\": \"<integer>\",\n  \"stock_source_quantity\": \"<string>\",\n  \"sibling_name\": {\n    \"<key>\": \"<string>\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get the recipe of a variant: components and the yield of a prep",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/:variant/recipe",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    ":variant",
                    "recipe"
                  ],
                  "variable": [
                    {
                      "key": "variant",
                      "value": "",
                      "description": "ID of the variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-get-recipe"
              },
              "response": []
            },
            {
              "name": "Replace the recipe of a variant: components and the yield of a prep",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/variants/:variant/recipe",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "variants",
                    ":variant",
                    "recipe"
                  ],
                  "variable": [
                    {
                      "key": "variant",
                      "value": "",
                      "description": "ID of the variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/variants/#variants-replace-recipe",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"components\": [\n    {\n      \"variant_id\": \"<integer>\",\n      \"quantity\": \"<string>\"\n    }\n  ],\n  \"yield_quantity\": \"<string>\",\n  \"option_recipes\": [\n    {\n      \"option_id\": \"<integer>\",\n      \"components\": [\n        {\n          \"variant_id\": \"<integer>\",\n          \"quantity\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Product photos",
          "description": "The gallery of a product: add a photo by URL, reorder, choose the main one, remove.",
          "item": [
            {
              "name": "Get a product gallery photo",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/media/:media",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "media",
                    ":media"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    },
                    {
                      "key": "media",
                      "value": "",
                      "description": "ID of the photo: id in media of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-media/#product-media-get"
              },
              "response": []
            },
            {
              "name": "Move a gallery photo or make it primary",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/media/:media",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "media",
                    ":media"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    },
                    {
                      "key": "media",
                      "value": "",
                      "description": "ID of the photo: id in media of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-media/#product-media-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"position\": \"<integer>\",\n  \"is_primary\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Remove a photo from the product gallery",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/media/:media",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "media",
                    ":media"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    },
                    {
                      "key": "media",
                      "value": "",
                      "description": "ID of the photo: id in media of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-media/#product-media-delete"
              },
              "response": []
            },
            {
              "name": "Add a photo to the product gallery from an image URL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/media",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "media"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-media/#product-media-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"<string>\",\n  \"position\": \"<integer>\",\n  \"is_primary\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Photo downloads",
          "description": "Photos added by URL are downloaded in the background; a download shows its status and the reason of a failure.",
          "item": [
            {
              "name": "List photo downloads by URL changed since a given time: pending, downloaded or failed",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/media-imports",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "media-imports"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "product_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this product."
                    },
                    {
                      "key": "status",
                      "value": "",
                      "disabled": true,
                      "description": "Only downloads in this status."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/media-imports/#media-imports-list"
              },
              "response": []
            },
            {
              "name": "Get a photo download by URL",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/media-imports/:import",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "media-imports",
                    ":import"
                  ],
                  "variable": [
                    {
                      "key": "import",
                      "value": "",
                      "description": "ID of the photo download."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/media-imports/#media-imports-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Modifier groups",
          "description": "Choices for an item: sauces, extras, portion size. The group sets the selection bounds, options set surcharge and composition.",
          "item": [
            {
              "name": "List modifier groups with options changed since the given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-list"
              },
              "response": []
            },
            {
              "name": "Create a modifier group with options",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"min_select\": \"<integer>\",\n  \"max_select\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"adds_ingredients\": \"<boolean>\",\n  \"options\": [\n    {\n      \"external_id\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"price_delta\": \"<integer>\",\n      \"max_quantity\": \"<integer>\",\n      \"duration_minutes\": \"<integer>\",\n      \"is_active\": \"<boolean>\",\n      \"is_default\": \"<boolean>\",\n      \"adds_ingredients\": \"<boolean>\",\n      \"recipe_per_variant\": \"<boolean>\",\n      \"nutrition\": {\n        \"kcal\": \"<integer>\",\n        \"protein_mg\": \"<integer>\",\n        \"fat_mg\": \"<integer>\",\n        \"carbs_mg\": \"<integer>\"\n      },\n      \"recipe\": [\n        {\n          \"variant_id\": \"<integer>\",\n          \"quantity\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a modifier group with its options",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups/:group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups",
                    ":group"
                  ],
                  "variable": [
                    {
                      "key": "group",
                      "value": "",
                      "description": "ID of the modifier group."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-get"
              },
              "response": []
            },
            {
              "name": "Update a modifier group and its option set",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups/:group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups",
                    ":group"
                  ],
                  "query": [
                    {
                      "key": "consent[modifier_product_minimum]",
                      "value": "",
                      "disabled": true,
                      "description": "Products with their own selection rule get a minimum equal to the number of enabled options of the group; otherwise they could not be bought."
                    }
                  ],
                  "variable": [
                    {
                      "key": "group",
                      "value": "",
                      "description": "ID of the modifier group."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"options\": [\n    {\n      \"id\": \"<integer>\",\n      \"external_id\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"price_delta\": \"<integer>\",\n      \"max_quantity\": \"<integer>\",\n      \"duration_minutes\": \"<integer>\",\n      \"is_active\": \"<boolean>\",\n      \"is_default\": \"<boolean>\",\n      \"adds_ingredients\": \"<boolean>\",\n      \"recipe_per_variant\": \"<boolean>\",\n      \"nutrition\": {\n        \"kcal\": \"<integer>\",\n        \"protein_mg\": \"<integer>\",\n        \"fat_mg\": \"<integer>\",\n        \"carbs_mg\": \"<integer>\"\n      },\n      \"recipe\": [\n        {\n          \"variant_id\": \"<integer>\",\n          \"quantity\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"min_select\": \"<integer>\",\n  \"max_select\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"adds_ingredients\": \"<boolean>\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Archive a modifier group",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups/:group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups",
                    ":group"
                  ],
                  "query": [
                    {
                      "key": "consent[modifier_group_archive]",
                      "value": "",
                      "disabled": true,
                      "description": "Archiving the group removes it from products, breaks the selection in customer carts and removes its options from open draft orders."
                    }
                  ],
                  "variable": [
                    {
                      "key": "group",
                      "value": "",
                      "description": "ID of the modifier group."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-delete"
              },
              "response": []
            },
            {
              "name": "Get a modifier group by external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or update a modifier group by external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/modifier-groups/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "modifier-groups",
                    "by-external-id",
                    ":external_id"
                  ],
                  "query": [
                    {
                      "key": "consent[modifier_product_minimum]",
                      "value": "",
                      "disabled": true,
                      "description": "Products with their own selection rule get a minimum equal to the number of enabled options of the group; otherwise they could not be bought."
                    }
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/modifier-groups/#modifier-groups-upsert",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"options\": [\n    {\n      \"id\": \"<integer>\",\n      \"external_id\": \"<string>\",\n      \"name\": {\n        \"<key>\": \"<string>\"\n      },\n      \"price_delta\": \"<integer>\",\n      \"max_quantity\": \"<integer>\",\n      \"duration_minutes\": \"<integer>\",\n      \"is_active\": \"<boolean>\",\n      \"is_default\": \"<boolean>\",\n      \"adds_ingredients\": \"<boolean>\",\n      \"recipe_per_variant\": \"<boolean>\",\n      \"nutrition\": {\n        \"kcal\": \"<integer>\",\n        \"protein_mg\": \"<integer>\",\n        \"fat_mg\": \"<integer>\",\n        \"carbs_mg\": \"<integer>\"\n      },\n      \"recipe\": [\n        {\n          \"variant_id\": \"<integer>\",\n          \"quantity\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"name\": {\n    \"<key>\": \"<string>\"\n  },\n  \"min_select\": \"<integer>\",\n  \"max_select\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"adds_ingredients\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Product modifiers",
          "description": "Which modifier groups a product has, in order, with its selection rule and option surcharges by variant.",
          "item": [
            {
              "name": "Get the product modifier groups and their option surcharges by variant",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/modifier-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "modifier-groups"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-modifier-groups/#products-get-modifier-groups"
              },
              "response": []
            },
            {
              "name": "Replace the product modifier groups and their option surcharges by variant",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/products/:product/modifier-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "products",
                    ":product",
                    "modifier-groups"
                  ],
                  "variable": [
                    {
                      "key": "product",
                      "value": "",
                      "description": "ID of the product."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/product-modifier-groups/#products-replace-modifier-groups",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"groups\": [\n    {\n      \"group_id\": \"<integer>\"\n    }\n  ],\n  \"option_prices\": [\n    {\n      \"option_id\": \"<integer>\",\n      \"is_available\": \"<boolean>\",\n      \"variant_id\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Recommendation rules",
          "description": "What to offer next to the products of a category or collection, by priority: the own list of the product, then rules top to bottom, then automatic picks.",
          "item": [
            {
              "name": "List recommendation rules changed since a given time",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/recommendation-rules",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "recommendation-rules"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/recommendation-rules/#recommendation-rules-list"
              },
              "response": []
            },
            {
              "name": "Create a recommendation rule",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/recommendation-rules",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "recommendation-rules"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/recommendation-rules/#recommendation-rules-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source_type\": \"category\",\n  \"source_id\": \"<integer>\",\n  \"target_collection_id\": \"<integer>\",\n  \"product_ids\": [\n    \"<integer>\"\n  ],\n  \"exclusive\": \"<boolean>\",\n  \"is_active\": \"<boolean>\",\n  \"position\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a recommendation rule",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/recommendation-rules/:rule",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "recommendation-rules",
                    ":rule"
                  ],
                  "variable": [
                    {
                      "key": "rule",
                      "value": "",
                      "description": "ID of the recommendation rule."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/recommendation-rules/#recommendation-rules-get"
              },
              "response": []
            },
            {
              "name": "Change a recommendation rule",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/recommendation-rules/:rule",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "recommendation-rules",
                    ":rule"
                  ],
                  "variable": [
                    {
                      "key": "rule",
                      "value": "",
                      "description": "ID of the recommendation rule."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/recommendation-rules/#recommendation-rules-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source_type\": \"category\",\n  \"source_id\": \"<integer>\",\n  \"target_collection_id\": \"<integer>\",\n  \"product_ids\": [\n    \"<integer>\"\n  ],\n  \"exclusive\": \"<boolean>\",\n  \"is_active\": \"<boolean>\",\n  \"position\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a recommendation rule",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/recommendation-rules/:rule",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "recommendation-rules",
                    ":rule"
                  ],
                  "variable": [
                    {
                      "key": "rule",
                      "value": "",
                      "description": "ID of the recommendation rule."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/recommendation-rules/#recommendation-rules-delete"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Tax classes",
          "description": "Tax classes of the store that products refer to by tax_class_id: the kind of tax and its rate, which each sale keeps.",
          "item": [
            {
              "name": "List the tax classes of the store: the kind and rate of tax a product sells with",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tax-classes",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tax-classes"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/tax-classes/#tax-classes-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Price lists",
          "description": "Location and wholesale price lists: a percentage over the base price or over cost, with rounding. Fixed prices and surcharges have their own feeds.",
          "item": [
            {
              "name": "List the store's price lists: location and wholesale lists with their rule and rounding",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "disabled": true,
                      "description": "Only lists of this kind: location — location lists, wholesale — wholesale lists."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-lists/#price-lists-list"
              },
              "response": []
            },
            {
              "name": "Create a wholesale price list",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-lists/#price-lists-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"wholesale\",\n  \"name\": \"<string>\",\n  \"adjustment_bp\": \"<integer>\",\n  \"rounding\": {\n    \"mode\": \"nearest\",\n    \"precision\": \"1\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a price list",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-lists/#price-lists-get"
              },
              "response": []
            },
            {
              "name": "Update a price list: adjustment and rounding, and the name of a wholesale list; a location list's rule changes prices at all its locations",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-lists/#price-lists-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"adjustment_bp\": \"<integer>\",\n  \"rounding\": {\n    \"mode\": \"nearest\",\n    \"precision\": \"<integer>\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a wholesale price list; its assignment to customers is removed with consent",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list"
                  ],
                  "query": [
                    {
                      "key": "consent[wholesale_price_list_buyers]",
                      "value": "",
                      "disabled": true,
                      "description": "The wholesale list is assigned to customers: deleting it removes the assignment, and their wholesale sales go at base prices. buyers — how many customers it affects."
                    }
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-lists/#price-lists-delete"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Price list fixed prices",
          "description": "Fixed variant prices in price lists that override the list rule: the price in the price list currency and in store money.",
          "item": [
            {
              "name": "List fixed variant prices in price lists changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-list-items",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-list-items"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "price_list_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only prices of this price list."
                    },
                    {
                      "key": "variant_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only prices of this variant across all lists."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-items/#price-list-items-list"
              },
              "response": []
            },
            {
              "name": "Get a fixed variant price in a price list",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-list-items/:price_list_item",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-list-items",
                    ":price_list_item"
                  ],
                  "variable": [
                    {
                      "key": "price_list_item",
                      "value": "",
                      "description": "Price list fixed price ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-items/#price-list-items-get"
              },
              "response": []
            },
            {
              "name": "Set fixed variant prices in a price list in bulk",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list/items",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list",
                    "items"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-items/#price-lists-set-items",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"items\": [\n    {\n      \"variant_id\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Remove fixed variant prices from a price list in bulk",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list/items/remove",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list",
                    "items",
                    "remove"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-items/#price-lists-remove-items",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"variant_ids\": [\n    \"<integer>\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Price list fixed surcharges",
          "description": "Fixed modifier option surcharges in price lists: for one variant of the item or for all, in the price list currency and in store money.",
          "item": [
            {
              "name": "List fixed modifier option surcharges in price lists changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-list-modifier-items",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-list-modifier-items"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "price_list_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only surcharges of this price list."
                    },
                    {
                      "key": "modifier_option_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only surcharges of this option across all lists."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-modifier-items/#price-list-modifier-items-list"
              },
              "response": []
            },
            {
              "name": "Get a fixed option surcharge in a price list",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-list-modifier-items/:price_list_modifier_item",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-list-modifier-items",
                    ":price_list_modifier_item"
                  ],
                  "variable": [
                    {
                      "key": "price_list_modifier_item",
                      "value": "",
                      "description": "Price list fixed surcharge ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-modifier-items/#price-list-modifier-items-get"
              },
              "response": []
            },
            {
              "name": "Set fixed modifier option surcharges in a price list in bulk",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list/modifier-items",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list",
                    "modifier-items"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-modifier-items/#price-lists-set-modifier-items",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"items\": [\n    {\n      \"modifier_option_id\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Remove fixed modifier option surcharges from a price list in bulk",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/price-lists/:price_list/modifier-items/remove",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "price-lists",
                    ":price_list",
                    "modifier-items",
                    "remove"
                  ],
                  "variable": [
                    {
                      "key": "price_list",
                      "value": "",
                      "description": "Price list ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/price-list-modifier-items/#price-lists-remove-modifier-items",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"items\": [\n    {\n      \"modifier_option_id\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Inventory",
      "item": [
        {
          "name": "Stock",
          "description": "Stock of a variant at a location: read the levels, set the on-hand quantity after a count, receive or write off goods.",
          "item": [
            {
              "name": "List stock levels by location changed since a given time",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/inventory-levels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "inventory-levels"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "variant_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only stock of this variant."
                    },
                    {
                      "key": "location_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only stock at this location."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/inventory-levels/#inventory-levels-list"
              },
              "response": []
            },
            {
              "name": "Set the on-hand quantity of a variant at a location",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/inventory-levels/set",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "inventory-levels",
                    "set"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/inventory-levels/#inventory-levels-set",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"variant_id\": \"<integer>\",\n  \"location_id\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"lot_number\": \"<string>\",\n  \"expires_at\": \"<date>\",\n  \"on_hand\": \"<string>\",\n  \"expected_on_hand\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Receive stock or write it off at a location",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/inventory-levels/adjust",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "inventory-levels",
                    "adjust"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/inventory-levels/#inventory-levels-adjust",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"variant_id\": \"<integer>\",\n  \"location_id\": \"<integer>\",\n  \"comment\": \"<string>\",\n  \"lot_number\": \"<string>\",\n  \"expires_at\": \"<date>\",\n  \"reason\": \"restock\",\n  \"delta\": \"<string>\",\n  \"write_off_reason_id\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Stock movements",
          "description": "Journal of a location's physical stock: sales, receipts, write-offs, stocktakes, transfers and their reversals. Append-only.",
          "item": [
            {
              "name": "Stock movement journal: every change to a location's physical stock",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stock-movements",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stock-movements"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "variant_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only movements of this variant."
                    },
                    {
                      "key": "location_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only movements at this location."
                    },
                    {
                      "key": "lot_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only movements of this lot."
                    },
                    {
                      "key": "document_type",
                      "value": "",
                      "disabled": true,
                      "description": "Primary document type, together with document_id: only movements whose primary document it is."
                    },
                    {
                      "key": "document_id",
                      "value": "",
                      "disabled": true,
                      "description": "Primary document ID, together with document_type."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stock-movements/#stock-movements-list"
              },
              "response": []
            },
            {
              "name": "Stock movement",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stock-movements/:stock_movement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stock-movements",
                    ":stock_movement"
                  ],
                  "variable": [
                    {
                      "key": "stock_movement",
                      "value": "",
                      "description": "Stock movement ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stock-movements/#stock-movements-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Lots",
          "description": "Product lots: number from the package, expiry date and availability. Stock movements and document lines point to the lot.",
          "item": [
            {
              "name": "Product lots: number, expiry date and status, changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/lots",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "lots"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "variant_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only lots of this variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/lots/#lots-list"
              },
              "response": []
            },
            {
              "name": "Product lot",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/lots/:lot",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "lots",
                    ":lot"
                  ],
                  "variable": [
                    {
                      "key": "lot",
                      "value": "",
                      "description": "Lot ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/lots/#lots-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Location transfers",
          "description": "Transfers of goods between store locations: a posted document with lines. A mistake is undone by a reverse transfer.",
          "item": [
            {
              "name": "Transfers of goods between locations with their lines, changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/location-transfers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "location-transfers"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "source_location_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only transfers that took goods out of this location."
                    },
                    {
                      "key": "destination_location_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only transfers that brought goods to this location."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/location-transfers/#location-transfers-list"
              },
              "response": []
            },
            {
              "name": "Location transfer",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/location-transfers/:location_transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "location-transfers",
                    ":location_transfer"
                  ],
                  "variable": [
                    {
                      "key": "location_transfer",
                      "value": "",
                      "description": "Location transfer ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/location-transfers/#location-transfers-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Stock counts",
          "description": "Stock counts of a location: coverage, blind counting and status from draft to posted. Lines come in a feed of their own.",
          "item": [
            {
              "name": "Stock counts: coverage, status and dates, changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stocktakes",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stocktakes"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "location_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only stock counts of this location."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stocktakes/#stocktakes-list"
              },
              "response": []
            },
            {
              "name": "Stock count",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stocktakes/:stocktake",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stocktakes",
                    ":stocktake"
                  ],
                  "variable": [
                    {
                      "key": "stocktake",
                      "value": "",
                      "description": "Stock count ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stocktakes/#stocktakes-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Stock count lines",
          "description": "What a count found: expected and counted quantity per item and lot, the variance, the adjustment applied and the location on-hand after posting.",
          "item": [
            {
              "name": "Stock count lines: expected, counted, variance and adjustment, changed since a given moment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stocktake-lines",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stocktake-lines"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "stocktake_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only lines of this stock count."
                    },
                    {
                      "key": "variant_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only lines of this variant."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stocktake-lines/#stocktake-lines-list"
              },
              "response": []
            },
            {
              "name": "Stock count line",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/stocktake-lines/:stocktake_line",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "stocktake-lines",
                    ":stocktake_line"
                  ],
                  "variable": [
                    {
                      "key": "stocktake_line",
                      "value": "",
                      "description": "Stock count line ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/stocktake-lines/#stocktake-lines-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Write-off reasons",
          "description": "Reasons of the store a write-off names: the reason decides the accounting kind and whether a comment is needed.",
          "item": [
            {
              "name": "List the store write-off reasons",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/write-off-reasons",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "write-off-reasons"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/write-off-reasons/#write-off-reasons-list"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Orders and payments",
      "item": [
        {
          "name": "Orders",
          "description": "Orders of every channel: items, totals, status and payment. The feed returns changes in commit order; status changes follow the rules of the store.",
          "item": [
            {
              "name": "List orders changed since a given time: items, totals, the order status and the payment status",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "number",
                      "value": "",
                      "disabled": true,
                      "description": "Only the order with this number."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-list"
              },
              "response": []
            },
            {
              "name": "Get an order",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-get"
              },
              "response": []
            },
            {
              "name": "Download the carrier label of the order's current shipment as a PDF; it carries the recipient's details, so customers:read is required too",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/shipment/label",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "shipment",
                    "label"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-get-shipment-label"
              },
              "response": []
            },
            {
              "name": "Move an order to another status of the store",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "status"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-set-status",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"delivery_failure_reason\": \"customer_absent\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Cancel an order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "cancel"
                  ],
                  "query": [
                    {
                      "key": "consent[order_cancel]",
                      "value": "",
                      "disabled": true,
                      "description": "Cancelling the order returns the received money to the customer, the subscription or the booking, issues a credit note for the fiscal document, cancels the carrier shipment and leaves already picked goods as losses."
                    }
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-cancel",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"<string>\",\n  \"comment\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Issue the order's shipment with its carrier: the request runs in the background, the outcome shows in the order and arrives with order.updated",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/shipment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "shipment"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-create-shipment"
              },
              "response": []
            },
            {
              "name": "Write the tracking number of a delivery service without integration: number, link and service name",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/shipment/tracking",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "shipment",
                    "tracking"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-set-shipment-tracking",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"tracking_number\": \"<string>\",\n  \"tracking_url\": \"<uri>\",\n  \"carrier_name\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Remove a manually written tracking number",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/shipment/tracking/clear",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "shipment",
                    "tracking",
                    "clear"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/orders/#orders-clear-shipment-tracking"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Order statuses",
          "description": "Status list of the store with its own statuses, the lasting meaning of each and the allowed transitions.",
          "item": [
            {
              "name": "List the order statuses of the store and the transitions between them",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/order-statuses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "order-statuses"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/order-statuses/#order-statuses-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Draft orders",
          "description": "An order prepared by the app: priced live by the catalog, discounts and delivery, it shows what prevents placing it and becomes an order on completion.",
          "item": [
            {
              "name": "Get a draft order: items, totals and what blocks placing it",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/draft-orders/:draft",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "draft-orders",
                    ":draft"
                  ],
                  "variable": [
                    {
                      "key": "draft",
                      "value": "",
                      "description": "ID of the draft order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/draft-orders/#draft-orders-get"
              },
              "response": []
            },
            {
              "name": "Change a draft order: customer, delivery, payment method and items",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/draft-orders/:draft",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "draft-orders",
                    ":draft"
                  ],
                  "variable": [
                    {
                      "key": "draft",
                      "value": "",
                      "description": "ID of the draft order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/draft-orders/#draft-orders-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": \"<integer>\",\n  \"delivery_method_id\": \"<integer>\",\n  \"address_id\": \"<integer>\",\n  \"pickup_location_id\": \"<integer>\",\n  \"delivery_slots\": [\n    {\n      \"from\": \"<string>\",\n      \"to\": \"<string>\"\n    }\n  ],\n  \"delivery_cost_override\": \"<integer>\",\n  \"payment_method\": \"cash\",\n  \"manual_payment_method_id\": \"<integer>\",\n  \"promocode\": \"<string>\",\n  \"customer_comment\": \"<string>\",\n  \"note\": \"<string>\",\n  \"lines\": [\n    {\n      \"variant_id\": \"<integer>\",\n      \"quantity\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a draft order",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/draft-orders/:draft",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "draft-orders",
                    ":draft"
                  ],
                  "variable": [
                    {
                      "key": "draft",
                      "value": "",
                      "description": "ID of the draft order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/draft-orders/#draft-orders-delete"
              },
              "response": []
            },
            {
              "name": "Create a draft order for a customer",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/draft-orders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "draft-orders"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/draft-orders/#draft-orders-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": \"<integer>\",\n  \"delivery_method_id\": \"<integer>\",\n  \"address_id\": \"<integer>\",\n  \"pickup_location_id\": \"<integer>\",\n  \"delivery_slots\": [\n    {\n      \"from\": \"<string>\",\n      \"to\": \"<string>\"\n    }\n  ],\n  \"delivery_cost_override\": \"<integer>\",\n  \"payment_method\": \"cash\",\n  \"manual_payment_method_id\": \"<integer>\",\n  \"promocode\": \"<string>\",\n  \"customer_comment\": \"<string>\",\n  \"note\": \"<string>\",\n  \"lines\": [\n    {\n      \"variant_id\": \"<integer>\",\n      \"quantity\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Place the order from a draft: invoice the customer or record the payment as received",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/draft-orders/:draft/complete",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "draft-orders",
                    ":draft",
                    "complete"
                  ],
                  "variable": [
                    {
                      "key": "draft",
                      "value": "",
                      "description": "ID of the draft order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/draft-orders/#draft-orders-complete",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"invoice\",\n  \"expected_total\": \"<integer>\",\n  \"currency\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Payments",
          "description": "Payment attempts of orders and their outcome. Manual payments waiting for money are confirmed here.",
          "item": [
            {
              "name": "List order payments changed since a given time",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/payments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payments"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this order."
                    },
                    {
                      "key": "pos_shift_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records taken by this register shift."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/payments/#payments-list"
              },
              "response": []
            },
            {
              "name": "Get an order payment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/payments/:payment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payments",
                    ":payment"
                  ],
                  "variable": [
                    {
                      "key": "payment",
                      "value": "",
                      "description": "ID of the payment."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/payments/#payments-get"
              },
              "response": []
            },
            {
              "name": "Confirm that the money of a pending invoice was received",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/payments/:payment/confirm",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "payments",
                    ":payment",
                    "confirm"
                  ],
                  "variable": [
                    {
                      "key": "payment",
                      "value": "",
                      "description": "ID of the payment."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/payments/#payments-confirm",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"comment\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Refunds",
          "description": "Refunds of orders: calculate first, then refund items and delivery; the money goes back by the payment methods, the goods go back to stock.",
          "item": [
            {
              "name": "List order refunds changed since a given time: items and payment transactions",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/refunds",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "refunds"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this order."
                    },
                    {
                      "key": "pos_shift_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records taken by this register shift."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/refunds/#refunds-list"
              },
              "response": []
            },
            {
              "name": "Get an order refund",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/refunds/:refund",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "refunds",
                    ":refund"
                  ],
                  "variable": [
                    {
                      "key": "refund",
                      "value": "",
                      "description": "ID of the refund."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/refunds/#refunds-get"
              },
              "response": []
            },
            {
              "name": "Calculate an order refund and what is left to refund, without writing anything",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/refunds/calculate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "refunds",
                    "calculate"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/refunds/#refunds-calculate",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"items\": [\n    {\n      \"order_item_id\": \"<integer>\",\n      \"quantity\": \"<string>\"\n    }\n  ],\n  \"shipping_amount\": \"<integer>\",\n  \"irreversible_to\": \"manual\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Refund order items and delivery: money goes back by the payment methods, goods go back to stock",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/refunds",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "refunds"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/refunds/#refunds-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"items\": [\n    {\n      \"order_item_id\": \"<integer>\",\n      \"quantity\": \"<string>\"\n    }\n  ],\n  \"shipping_amount\": \"<integer>\",\n  \"irreversible_to\": \"manual\",\n  \"expected_amount\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Confirm that the refund money was paid back outside the system",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/refunds/:refund/confirm",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "refunds",
                    ":refund",
                    "confirm"
                  ],
                  "variable": [
                    {
                      "key": "refund",
                      "value": "",
                      "description": "ID of the refund."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/refunds/#refunds-confirm"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Delivery methods",
          "description": "Delivery methods of the store: the list that orders and draft orders refer to by delivery_method_id.",
          "item": [
            {
              "name": "List the store delivery methods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/delivery-methods",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "delivery-methods"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/delivery-methods/#delivery-methods-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Manual payment methods",
          "description": "Manual payment methods of the store, such as a bank transfer, that orders and payments refer to.",
          "item": [
            {
              "name": "List the store manual payment methods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/manual-payment-methods",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "manual-payment-methods"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/manual-payment-methods/#manual-payment-methods-list"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Customers",
      "item": [
        {
          "name": "Customers",
          "description": "Customers of the store with their contacts, marketing consent and address book. All of it is personal data under the customers:read scope.",
          "item": [
            {
              "name": "List customers changed since a given time: contacts, marketing consent, addresses and groups; look up by phone, email and group",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "phone",
                      "value": "",
                      "disabled": true,
                      "description": "Only customers with this phone, in E.164 format."
                    },
                    {
                      "key": "email",
                      "value": "",
                      "disabled": true,
                      "description": "Only customers with this email."
                    },
                    {
                      "key": "group_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only customers in this group: its current members."
                    },
                    {
                      "key": "wholesale_price_list_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only customers assigned this wholesale price list."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-list"
              },
              "response": []
            },
            {
              "name": "Create a customer: a name and at least one contact",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"language\": \"ru\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a customer",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-get"
              },
              "response": []
            },
            {
              "name": "Update a customer's name, language and external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"language\": \"ru\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a customer by its external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or update a customer by its external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-upsert",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"language\": \"ru\",\n  \"phone\": \"<string>\",\n  \"email\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Assign a wholesale price list to a customer or remove it",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/wholesale-price-list",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "wholesale-price-list"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customers/#customers-set-wholesale-price-list",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"price_list_id\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customer addresses",
          "description": "The address book of a customer: add, change, make the main one, delete.",
          "item": [
            {
              "name": "Get an address from a customer's address book",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/addresses/:address",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "addresses",
                    ":address"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    },
                    {
                      "key": "address",
                      "value": "",
                      "description": "ID of the address in the address book of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-addresses/#customer-addresses-get"
              },
              "response": []
            },
            {
              "name": "Update a customer's address",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/addresses/:address",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "addresses",
                    ":address"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    },
                    {
                      "key": "address",
                      "value": "",
                      "description": "ID of the address in the address book of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-addresses/#customer-addresses-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"<string>\",\n  \"street\": \"<string>\",\n  \"house\": \"<string>\",\n  \"apartment\": \"<string>\",\n  \"floor\": \"<string>\",\n  \"entrance\": \"<string>\",\n  \"district\": \"<string>\",\n  \"postal_code\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"location\": {\n    \"lat\": \"<number>\",\n    \"lng\": \"<number>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete an address from a customer's address book",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/addresses/:address",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "addresses",
                    ":address"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    },
                    {
                      "key": "address",
                      "value": "",
                      "description": "ID of the address in the address book of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-addresses/#customer-addresses-delete"
              },
              "response": []
            },
            {
              "name": "Add an address to a customer's address book",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/addresses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "addresses"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-addresses/#customer-addresses-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"<string>\",\n  \"street\": \"<string>\",\n  \"house\": \"<string>\",\n  \"apartment\": \"<string>\",\n  \"floor\": \"<string>\",\n  \"entrance\": \"<string>\",\n  \"district\": \"<string>\",\n  \"postal_code\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"location\": {\n    \"lat\": \"<number>\",\n    \"lng\": \"<number>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customer tax details",
          "description": "Tax details of a customer: receipts and invoices of new orders of the customer are issued under them.",
          "item": [
            {
              "name": "Get a customer's tax details",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/fiscal-profile",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "fiscal-profile"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-fiscal-profiles/#customer-fiscal-profiles-get"
              },
              "response": []
            },
            {
              "name": "Replace a customer's tax details; null makes them a retail customer",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customers/:customer/fiscal-profile",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customers",
                    ":customer",
                    "fiscal-profile"
                  ],
                  "variable": [
                    {
                      "key": "customer",
                      "value": "",
                      "description": "ID of the customer."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-fiscal-profiles/#customer-fiscal-profiles-replace",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"receptor\": {\n    \"id_type\": \"tax_id\",\n    \"id_number\": \"<string>\",\n    \"name\": \"<string>\",\n    \"tax_status\": \"registered\",\n    \"address\": \"<string>\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customer groups",
          "description": "Manual customer groups that discounts and broadcasts target: VIP, wholesale, staff. Membership is the group_ids field of a customer.",
          "item": [
            {
              "name": "List the store's customer groups: name, description and whether they are active",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-list"
              },
              "response": []
            },
            {
              "name": "Create a customer group",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"description\": \"<string>\",\n  \"is_active\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a customer group",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups/:customer_group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups",
                    ":customer_group"
                  ],
                  "variable": [
                    {
                      "key": "customer_group",
                      "value": "",
                      "description": "Customer group ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-get"
              },
              "response": []
            },
            {
              "name": "Change a group's name, description or activity",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups/:customer_group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups",
                    ":customer_group"
                  ],
                  "variable": [
                    {
                      "key": "customer_group",
                      "value": "",
                      "description": "Customer group ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-update"
              },
              "response": []
            },
            {
              "name": "Delete a group: its memberships go with it, and discount rules and broadcasts stop targeting it",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups/:customer_group",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups",
                    ":customer_group"
                  ],
                  "variable": [
                    {
                      "key": "customer_group",
                      "value": "",
                      "description": "Customer group ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-delete"
              },
              "response": []
            },
            {
              "name": "Add customers to a group",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups/:customer_group/members",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups",
                    ":customer_group",
                    "members"
                  ],
                  "variable": [
                    {
                      "key": "customer_group",
                      "value": "",
                      "description": "Customer group ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-add-members",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_ids\": [\n    \"<integer>\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Remove customers from a group",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-groups/:customer_group/members/remove",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-groups",
                    ":customer_group",
                    "members",
                    "remove"
                  ],
                  "variable": [
                    {
                      "key": "customer_group",
                      "value": "",
                      "description": "Customer group ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-groups/#customer-groups-remove-members",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_ids\": [\n    \"<integer>\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Accounting",
      "item": [
        {
          "name": "Legal entities",
          "description": "The store legal entities: tax ID and tax status, issuers of fiscal documents. Fiscal documents and tax periods refer to them.",
          "item": [
            {
              "name": "List the store legal entities: issuers of fiscal documents and owners of tax periods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/legal-entities",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "legal-entities"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/legal-entities/#legal-entities-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Fiscal documents",
          "description": "Sales invoices, credit and debit notes as the tax authority issued them: number, date, tax, annulment and PDF.",
          "item": [
            {
              "name": "List fiscal documents changed since a given moment: invoices, credit and debit notes in every status",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-list"
              },
              "response": []
            },
            {
              "name": "Get a fiscal document",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents/:document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents",
                    ":document"
                  ],
                  "variable": [
                    {
                      "key": "document",
                      "value": "",
                      "description": "ID of the fiscal document."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-get"
              },
              "response": []
            },
            {
              "name": "Download the PDF of a fiscal document, the same file the customer receives",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents/:document/pdf",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents",
                    ":document",
                    "pdf"
                  ],
                  "variable": [
                    {
                      "key": "document",
                      "value": "",
                      "description": "ID of the fiscal document."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-get-pdf"
              },
              "response": []
            },
            {
              "name": "Issue the invoice of a closed sale: issuing runs in the background, the outcome comes as an event",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Required key of the attempt, for example a UUID: a duplicate of this command with the tax authority cannot be undone. A retry with the same key and body gets the saved response. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/orders/:order/invoice",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "orders",
                    ":order",
                    "invoice"
                  ],
                  "variable": [
                    {
                      "key": "order",
                      "value": "",
                      "description": "ID of the order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-issue-invoice"
              },
              "response": []
            },
            {
              "name": "Reissue a document after a failure or a rejection by the tax authority",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Required key of the attempt, for example a UUID: a duplicate of this command with the tax authority cannot be undone. A retry with the same key and body gets the saved response. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents/:document/reissue",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents",
                    ":document",
                    "reissue"
                  ],
                  "variable": [
                    {
                      "key": "document",
                      "value": "",
                      "description": "ID of the fiscal document."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-reissue",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"receptor\": {\n    \"id_type\": \"tax_id\",\n    \"id_number\": \"<string>\",\n    \"name\": \"<string>\",\n    \"tax_status\": \"registered\",\n    \"address\": \"<string>\"\n  },\n  \"refresh_receptor\": \"<boolean>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Dismiss a rejected document: it will not be issued",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents/:document/dismiss",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents",
                    ":document",
                    "dismiss"
                  ],
                  "variable": [
                    {
                      "key": "document",
                      "value": "",
                      "description": "ID of the fiscal document."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-dismiss",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Annul an issued invoice with a credit note",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Required key of the attempt, for example a UUID: a duplicate of this command with the tax authority cannot be undone. A retry with the same key and body gets the saved response. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/fiscal-documents/:document/annul",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "fiscal-documents",
                    ":document",
                    "annul"
                  ],
                  "variable": [
                    {
                      "key": "document",
                      "value": "",
                      "description": "ID of the fiscal document."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/fiscal-documents/#fiscal-documents-annul",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Tax periods",
          "description": "Tax accounting months of legal entities: a closed period is filed, and its data no longer changes. Argentine stores only.",
          "item": [
            {
              "name": "List the tax periods of legal entities: which months are closed and final",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tax-periods",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tax-periods"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/tax-periods/#tax-periods-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Withholdings and perceptions",
          "description": "Tax withheld from the store, which it credits, and tax the store withheld from suppliers, which it remits; the store certificates in PDF.",
          "item": [
            {
              "name": "List withholdings and perceptions changed since a given moment: tax withheld from the store, to credit, and tax the store withheld, to remit",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tax-withholdings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tax-withholdings"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "direction",
                      "value": "",
                      "disabled": true,
                      "description": "Only one side of the register: suffered — withheld from the store, practiced — withheld by the store."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/tax-withholdings/#tax-withholdings-list"
              },
              "response": []
            },
            {
              "name": "Get a withholding or perception",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tax-withholdings/:tax_withholding",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tax-withholdings",
                    ":tax_withholding"
                  ],
                  "variable": [
                    {
                      "key": "tax_withholding",
                      "value": "",
                      "description": "Withholding or perception ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/tax-withholdings/#tax-withholdings-get"
              },
              "response": []
            },
            {
              "name": "Download the PDF withholding certificate the store issues to the counterparty",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tax-withholdings/:tax_withholding/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tax-withholdings",
                    ":tax_withholding",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "tax_withholding",
                      "value": "",
                      "description": "Withholding or perception ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/tax-withholdings/#tax-withholdings-get-certificate"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Money accounts",
          "description": "Accounts where the store money comes in and goes out: cash, bank, acquiring, wallet. The balance is in the account currency.",
          "item": [
            {
              "name": "List the store money accounts with their current balance: cash, bank, acquiring, wallet",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-accounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-accounts"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-accounts/#money-accounts-list"
              },
              "response": []
            },
            {
              "name": "Get a money account",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-accounts/:account",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-accounts",
                    ":account"
                  ],
                  "variable": [
                    {
                      "key": "account",
                      "value": "",
                      "description": "ID of the money account."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-accounts/#money-accounts-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Money categories",
          "description": "Tree of income and expense categories. A system category is identified by system_code, not by its name.",
          "item": [
            {
              "name": "List the money movement categories: the income and expense tree with system category codes",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-categories",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-categories"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-categories/#money-categories-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Money transactions",
          "description": "Journal of income and expenses by account: posting amount, posting record and primary document.",
          "item": [
            {
              "name": "List money transactions changed since a given moment: account income and expenses with their source and primary document",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transactions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transactions"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "account_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only movements of this money account."
                    },
                    {
                      "key": "transfer_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only the legs of this transfer between accounts."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transactions/#money-transactions-list"
              },
              "response": []
            },
            {
              "name": "Record manual income or expense on a money account",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transactions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transactions"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transactions/#money-transactions-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"account_id\": \"<integer>\",\n  \"direction\": \"income\",\n  \"account_amount\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"occurred_on\": \"<date>\",\n  \"occurred_at\": \"<date-time>\",\n  \"category_id\": \"<integer>\",\n  \"supplier_id\": \"<integer>\",\n  \"description\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a money transaction",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transactions/:transaction",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transactions",
                    ":transaction"
                  ],
                  "variable": [
                    {
                      "key": "transaction",
                      "value": "",
                      "description": "ID of the money transaction."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transactions/#money-transactions-get"
              },
              "response": []
            },
            {
              "name": "Update a money transaction: only the category, counterparty and description of a transaction with a source document",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transactions/:transaction",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transactions",
                    ":transaction"
                  ],
                  "variable": [
                    {
                      "key": "transaction",
                      "value": "",
                      "description": "ID of the money transaction."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transactions/#money-transactions-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"account_id\": \"<integer>\",\n  \"direction\": \"income\",\n  \"account_amount\": \"<string>\",\n  \"amount\": \"<integer>\",\n  \"occurred_on\": \"<date>\",\n  \"occurred_at\": \"<date-time>\",\n  \"category_id\": \"<integer>\",\n  \"supplier_id\": \"<integer>\",\n  \"description\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a manual money transaction and restore the account balance",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transactions/:transaction",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transactions",
                    ":transaction"
                  ],
                  "variable": [
                    {
                      "key": "transaction",
                      "value": "",
                      "description": "ID of the money transaction."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transactions/#money-transactions-delete"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Transfers between accounts",
          "description": "Money transfer from one account to another with a fee: create, update and delete. Transfer legs are money transactions with transfer_id.",
          "item": [
            {
              "name": "Get a transfer between money accounts",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transfers/:money_transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transfers",
                    ":money_transfer"
                  ],
                  "variable": [
                    {
                      "key": "money_transfer",
                      "value": "",
                      "description": "ID of the transfer — the transfer_id of its legs in the money journal."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transfers/#money-transfers-get"
              },
              "response": []
            },
            {
              "name": "Update a whole transfer in place: accounts, amounts, fee, date and description",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transfers/:money_transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transfers",
                    ":money_transfer"
                  ],
                  "variable": [
                    {
                      "key": "money_transfer",
                      "value": "",
                      "description": "ID of the transfer — the transfer_id of its legs in the money journal."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transfers/#money-transfers-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"from_account_id\": \"<integer>\",\n  \"to_account_id\": \"<integer>\",\n  \"from_amount\": \"<string>\",\n  \"to_amount\": \"<string>\",\n  \"fee\": \"<string>\",\n  \"occurred_on\": \"<date>\",\n  \"occurred_at\": \"<date-time>\",\n  \"description\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a transfer with all its legs",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transfers/:money_transfer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transfers",
                    ":money_transfer"
                  ],
                  "variable": [
                    {
                      "key": "money_transfer",
                      "value": "",
                      "description": "ID of the transfer — the transfer_id of its legs in the money journal."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transfers/#money-transfers-delete"
              },
              "response": []
            },
            {
              "name": "Transfer money between accounts, with or without a fee",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/money-transfers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "money-transfers"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/money-transfers/#money-transfers-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"from_account_id\": \"<integer>\",\n  \"to_account_id\": \"<integer>\",\n  \"from_amount\": \"<string>\",\n  \"to_amount\": \"<string>\",\n  \"fee\": \"<string>\",\n  \"occurred_on\": \"<date>\",\n  \"occurred_at\": \"<date-time>\",\n  \"description\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Accounting day rates",
          "description": "Rate of a currency to the store currency on a date, used by the money journal for foreign-currency accounts; for revaluation and reconciliation.",
          "item": [
            {
              "name": "Get the accounting day rate of a currency on a date: the rate the money journal uses to convert transactions on foreign-currency accounts",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/exchange-rates/:currency",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "exchange-rates",
                    ":currency"
                  ],
                  "query": [
                    {
                      "key": "date",
                      "value": "",
                      "disabled": true,
                      "description": "Accounting date YYYY-MM-DD in the store time zone; today by default."
                    }
                  ],
                  "variable": [
                    {
                      "key": "currency",
                      "value": "",
                      "description": "ISO 4217 currency or asset code (USDT, USDC) from the set of money account currencies."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/exchange-rates/#exchange-rates-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Register shifts",
          "description": "Register shifts with cash drawer reconciliation for each currency: opening float, expected, counted, difference and float left behind.",
          "item": [
            {
              "name": "Register shifts changed since a given moment: cash drawer reconciliation for each currency",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/pos-shifts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "pos-shifts"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/pos-shifts/#pos-shifts-list"
              },
              "response": []
            },
            {
              "name": "Register shift",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/pos-shifts/:shift",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "pos-shifts",
                    ":shift"
                  ],
                  "variable": [
                    {
                      "key": "shift",
                      "value": "",
                      "description": "Register shift ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/pos-shifts/#pos-shifts-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Cash drawer movements",
          "description": "The shift drawer journal: cash sales and refunds, pay-ins, pay-outs, safe drops, change and reversals. Append-only.",
          "item": [
            {
              "name": "Cash drawer journal: cash sales and refunds, pay-ins, pay-outs, safe drops, change and reversals",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/pos-cash-movements",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "pos-cash-movements"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "shift_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only movements of this register shift."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/pos-cash-movements/#pos-cash-movements-list"
              },
              "response": []
            },
            {
              "name": "Cash drawer movement",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/pos-cash-movements/:movement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "pos-cash-movements",
                    ":movement"
                  ],
                  "variable": [
                    {
                      "key": "movement",
                      "value": "",
                      "description": "Cash drawer movement ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/pos-cash-movements/#pos-cash-movements-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Pay-in and pay-out reasons",
          "description": "Reasons that name a cash pay-in or pay-out from the drawer, with the category the money journal posts the movement to.",
          "item": [
            {
              "name": "Pay-in and pay-out reasons with their money journal category",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/pos-cash-reasons",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "pos-cash-reasons"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/pos-cash-reasons/#pos-cash-reasons-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Gift cards",
          "description": "The store gift cards: face value, balance and the store liability for each card. The card code is not stored or returned.",
          "item": [
            {
              "name": "Gift cards: face value, balance and the store liability for each card",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/gift-cards",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "gift-cards"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/gift-cards/#gift-cards-list"
              },
              "response": []
            },
            {
              "name": "Gift card",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/gift-cards/:card",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "gift-cards",
                    ":card"
                  ],
                  "variable": [
                    {
                      "key": "card",
                      "value": "",
                      "description": "Gift card ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/gift-cards/#gift-cards-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Gift card activity",
          "description": "Gift card activity entries: issue, redemption, refund to the card, adjustment, void and block. Append-only.",
          "item": [
            {
              "name": "Gift card activity: issue, redemption, refund to the card, adjustment, void, block and balance transfer",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/gift-card-transactions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "gift-card-transactions"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "gift_card_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only entries of this gift card."
                    },
                    {
                      "key": "payment_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only entries of this payment."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/gift-card-transactions/#gift-card-transactions-list"
              },
              "response": []
            },
            {
              "name": "Gift card activity entry",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/gift-card-transactions/:entry",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "gift-card-transactions",
                    ":entry"
                  ],
                  "variable": [
                    {
                      "key": "entry",
                      "value": "",
                      "description": "Gift card activity entry ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/gift-card-transactions/#gift-card-transactions-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customer accounts",
          "description": "The store receivables book: each customer balance, credit limit, payment terms and a statement for a period with due dates.",
          "item": [
            {
              "name": "Customer accounts in the receivables book: balance, credit limit and payment terms",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-accounts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-accounts"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-accounts/#customer-accounts-list"
              },
              "response": []
            },
            {
              "name": "Customer account",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-accounts/:customer_account",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-accounts",
                    ":customer_account"
                  ],
                  "variable": [
                    {
                      "key": "customer_account",
                      "value": "",
                      "description": "Customer account ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-accounts/#customer-accounts-get"
              },
              "response": []
            },
            {
              "name": "Customer account statement for a period: opening and closing balance, entries with a running balance, and open debts with due dates",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-accounts/:customer_account/statement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-accounts",
                    ":customer_account",
                    "statement"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "",
                      "disabled": true,
                      "description": "First day of the period, YYYY-MM-DD in the store time zone; by default, the day of the first account operation."
                    },
                    {
                      "key": "to",
                      "value": "",
                      "disabled": true,
                      "description": "Last day of the period, YYYY-MM-DD in the store time zone; today by default."
                    }
                  ],
                  "variable": [
                    {
                      "key": "customer_account",
                      "value": "",
                      "description": "Customer account ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-accounts/#customer-accounts-get-statement"
              },
              "response": []
            },
            {
              "name": "Record a customer debt payment with money already received: an entry in the receivables book with withholding certificates",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-accounts/:customer_account/payments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-accounts",
                    ":customer_account",
                    "payments"
                  ],
                  "variable": [
                    {
                      "key": "customer_account",
                      "value": "",
                      "description": "Customer account ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-accounts/#customer-accounts-record-payment",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"amount\": \"<integer>\",\n  \"payment_method\": \"cash\",\n  \"manual_payment_method_id\": \"<integer>\",\n  \"location_id\": \"<integer>\",\n  \"legal_entity_id\": \"<integer>\",\n  \"withholdings\": [\n    {\n      \"regime\": \"<string>\",\n      \"amount\": \"<integer>\",\n      \"certificate_number\": \"<string>\"\n    }\n  ],\n  \"withheld_on\": \"<date>\",\n  \"withholding_agent_tax_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customer account entries",
          "description": "Receivables book entries: sale on account, payment, return, write-off, offset, withholding and reversal. Append-only.",
          "item": [
            {
              "name": "Customer account entries: sales on account, payments, returns, write-offs, offsets, withholdings and reversals",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-account-entries",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-account-entries"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "customer_account_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only entries of this customer account."
                    },
                    {
                      "key": "payment_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only entries of this payment."
                    },
                    {
                      "key": "order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only records of this order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-account-entries/#customer-account-entries-list"
              },
              "response": []
            },
            {
              "name": "Customer account entry",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/customer-account-entries/:customer_account_entry",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "customer-account-entries",
                    ":customer_account_entry"
                  ],
                  "variable": [
                    {
                      "key": "customer_account_entry",
                      "value": "",
                      "description": "Customer account entry ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/customer-account-entries/#customer-account-entries-get"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Procurement",
      "item": [
        {
          "name": "Suppliers",
          "description": "Supplier directory: tax details, purchase currency, payment term and settlement mode, plus balance and statement. Contact person and notes are not exposed.",
          "item": [
            {
              "name": "Store suppliers: tax details and payment terms",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-list"
              },
              "response": []
            },
            {
              "name": "Create a supplier: tax details and payment terms",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"tax_id\": \"<string>\",\n  \"tax_id_country\": \"AR\",\n  \"legal_name\": \"<string>\",\n  \"settlement_mode\": \"on_receipt\",\n  \"consignment_loss_policy\": \"return_to_supplier\",\n  \"prices_include_tax\": \"<boolean>\",\n  \"payment_term_days\": \"<integer>\",\n  \"min_order_amount\": \"<integer>\",\n  \"lead_time_days\": \"<integer>\",\n  \"is_active\": \"<boolean>\",\n  \"currency\": \"ARS\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Supplier",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/:supplier",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    ":supplier"
                  ],
                  "variable": [
                    {
                      "key": "supplier",
                      "value": "",
                      "description": "Supplier ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-get"
              },
              "response": []
            },
            {
              "name": "Update a supplier's tax details, payment terms and external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/:supplier",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    ":supplier"
                  ],
                  "variable": [
                    {
                      "key": "supplier",
                      "value": "",
                      "description": "Supplier ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"<string>\",\n  \"legal_name\": \"<string>\",\n  \"tax_id\": \"<string>\",\n  \"tax_id_country\": \"<string>\",\n  \"is_active\": \"<boolean>\",\n  \"payment_term_days\": \"<integer>\",\n  \"prices_include_tax\": \"<boolean>\",\n  \"settlement_mode\": \"on_receipt\",\n  \"consignment_loss_policy\": \"return_to_supplier\",\n  \"lead_time_days\": \"<integer>\",\n  \"min_order_amount\": \"<integer>\",\n  \"currency\": \"<string>\",\n  \"external_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Supplier by its external ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-get-by-external-id"
              },
              "response": []
            },
            {
              "name": "Create or update a supplier by its external ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read. Required when a record with this external ID exists (otherwise 428) and must be absent when it does not.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-None-Match",
                    "description": "* — create only: if a record with this external ID already exists, the request gets 412.",
                    "value": "*",
                    "disabled": true
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/by-external-id/:external_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    "by-external-id",
                    ":external_id"
                  ],
                  "variable": [
                    {
                      "key": "external_id",
                      "value": "",
                      "description": "External ID: the ID of the record in your system."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-upsert"
              },
              "response": []
            },
            {
              "name": "Supplier balance: what the store owes right now, by component and due date",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/:supplier/balance",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    ":supplier",
                    "balance"
                  ],
                  "query": [
                    {
                      "key": "legal_entity_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only the debt to this store legal entity."
                    }
                  ],
                  "variable": [
                    {
                      "key": "supplier",
                      "value": "",
                      "description": "Supplier ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-get-balance"
              },
              "response": []
            },
            {
              "name": "Supplier statement for a period: opening and closing balance, lines with a running balance",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/suppliers/:supplier/statement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "suppliers",
                    ":supplier",
                    "statement"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "",
                      "disabled": true,
                      "description": "First day of the period, YYYY-MM-DD in the store time zone; by default, the day of the first statement line."
                    },
                    {
                      "key": "to",
                      "value": "",
                      "disabled": true,
                      "description": "Last day of the period, YYYY-MM-DD in the store time zone; today by default."
                    },
                    {
                      "key": "legal_entity_id",
                      "value": "",
                      "disabled": true,
                      "description": "Statement for this store legal entity: only its share of lines and balances."
                    }
                  ],
                  "variable": [
                    {
                      "key": "supplier",
                      "value": "",
                      "description": "Supplier ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/suppliers/#suppliers-get-statement"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supplier bills",
          "description": "Payables: invoices, debit and credit notes, debts for deliveries without an invoice — with VAT by rate, perceptions and lines.",
          "item": [
            {
              "name": "Supplier bills: invoices, notes and debts for deliveries without an invoice, with tax and lines",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-list"
              },
              "response": []
            },
            {
              "name": "Create a draft supplier bill",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"invoice\",\n  \"fiscal\": \"<boolean>\",\n  \"legal_entity_id\": \"<integer>\",\n  \"supplier_id\": \"<integer>\",\n  \"related_bill_id\": \"<integer>\",\n  \"number\": \"<string>\",\n  \"issued_on\": \"<date>\",\n  \"tax_period\": \"<string>\",\n  \"due_on\": \"<date>\",\n  \"currency\": \"ARS\",\n  \"exchange_rate\": \"<string>\",\n  \"net_taxed\": \"<integer>\",\n  \"net_exempt\": \"<integer>\",\n  \"net_untaxed\": \"<integer>\",\n  \"tax_total\": \"<integer>\",\n  \"total\": \"<integer>\",\n  \"note\": \"<string>\",\n  \"lines\": [\n    {\n      \"description\": \"<string>\",\n      \"net_amount\": \"<integer>\",\n      \"tax_kind\": \"taxed\"\n    }\n  ],\n  \"additional_taxes\": [\n    {\n      \"kind\": \"perception\",\n      \"regime\": \"vat\",\n      \"amount\": \"<integer>\"\n    }\n  ],\n  \"goods_receipt_ids\": [\n    \"<integer>\"\n  ],\n  \"purchase_order_ids\": [\n    \"<integer>\"\n  ],\n  \"supplier_return_ids\": [\n    \"<integer>\"\n  ],\n  \"ar\": {\n    \"document_type_code\": \"<string>\",\n    \"point_of_sale\": \"<integer>\",\n    \"authorization_kind\": \"CAE\",\n    \"authorization_code\": \"<string>\",\n    \"authorization_expires_on\": \"<date>\",\n    \"credit_fiscal_amount\": \"<integer>\",\n    \"import\": {\n      \"kind\": \"goods\",\n      \"customs_declaration\": \"<string>\",\n      \"document_kind\": \"invoice\",\n      \"document_description\": \"<string>\",\n      \"provider_tax_id\": \"<string>\",\n      \"tax_paid_on\": \"<date>\",\n      \"tax_paid_amount\": \"<integer>\",\n      \"payment_reference\": \"<string>\",\n      \"payment_entity_tax_id\": \"<string>\"\n    }\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Supplier bill",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-get"
              },
              "response": []
            },
            {
              "name": "Change a draft supplier bill",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"invoice\",\n  \"fiscal\": \"<boolean>\",\n  \"legal_entity_id\": \"<integer>\",\n  \"supplier_id\": \"<integer>\",\n  \"related_bill_id\": \"<integer>\",\n  \"number\": \"<string>\",\n  \"issued_on\": \"<date>\",\n  \"tax_period\": \"<string>\",\n  \"due_on\": \"<date>\",\n  \"currency\": \"ARS\",\n  \"exchange_rate\": \"<string>\",\n  \"net_taxed\": \"<integer>\",\n  \"net_exempt\": \"<integer>\",\n  \"net_untaxed\": \"<integer>\",\n  \"tax_total\": \"<integer>\",\n  \"total\": \"<integer>\",\n  \"note\": \"<string>\",\n  \"lines\": [\n    {\n      \"description\": \"<string>\",\n      \"net_amount\": \"<integer>\",\n      \"tax_kind\": \"taxed\"\n    }\n  ],\n  \"additional_taxes\": [\n    {\n      \"kind\": \"perception\",\n      \"regime\": \"vat\",\n      \"amount\": \"<integer>\"\n    }\n  ],\n  \"goods_receipt_ids\": [\n    \"<integer>\"\n  ],\n  \"purchase_order_ids\": [\n    \"<integer>\"\n  ],\n  \"supplier_return_ids\": [\n    \"<integer>\"\n  ],\n  \"ar\": {\n    \"document_type_code\": \"<string>\",\n    \"point_of_sale\": \"<integer>\",\n    \"authorization_kind\": \"CAE\",\n    \"authorization_code\": \"<string>\",\n    \"authorization_expires_on\": \"<date>\",\n    \"credit_fiscal_amount\": \"<integer>\",\n    \"import\": {\n      \"kind\": \"goods\",\n      \"customs_declaration\": \"<string>\",\n      \"document_kind\": \"invoice\",\n      \"document_description\": \"<string>\",\n      \"provider_tax_id\": \"<string>\",\n      \"tax_paid_on\": \"<date>\",\n      \"tax_paid_amount\": \"<integer>\",\n      \"payment_reference\": \"<string>\",\n      \"payment_entity_tax_id\": \"<string>\"\n    }\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a draft supplier bill",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-delete"
              },
              "response": []
            },
            {
              "name": "Post a supplier bill: it enters payables and the purchase ledger",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/post",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "post"
                  ],
                  "query": [
                    {
                      "key": "consent[vendor_tax_id]",
                      "value": "",
                      "disabled": true,
                      "description": "The supplier sent the bill without a tax ID on their record: posting writes the CUIT from the invoice into the supplier record. suppliers is how many records change."
                    },
                    {
                      "key": "consent[close_returns]",
                      "value": "",
                      "disabled": true,
                      "description": "The credit note fully covers supplier returns: posting closes them. supplier_returns is how many returns close."
                    }
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-post",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Void a supplier bill together with its payments and offsets",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-void"
              },
              "response": []
            },
            {
              "name": "Approve a posted supplier bill for payment",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/approve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "approve"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-approve"
              },
              "response": []
            },
            {
              "name": "Revoke the payment approval of a supplier bill",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/revoke-approval",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "revoke-approval"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bills/#supplier-bills-revoke-approval"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supplier bill payments",
          "description": "What settled a supplier bill and by how much: money, offset, credit note, advance, journal expense or outside the system.",
          "item": [
            {
              "name": "Supplier bill payments: money, offset, credit note, advance, journal expense or paid outside the system",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bill-payments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bill-payments"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "supplier_bill_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only payments of this supplier bill."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bill-payments/#supplier-bill-payments-list"
              },
              "response": []
            },
            {
              "name": "Supplier bill payment",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bill-payments/:supplier_bill_payment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bill-payments",
                    ":supplier_bill_payment"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill_payment",
                      "value": "",
                      "description": "Supplier bill payment ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bill-payments/#supplier-bill-payments-get"
              },
              "response": []
            },
            {
              "name": "Mark a supplier bill as paid outside the system",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/payments/out-of-band",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "payments",
                    "out-of-band"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bill-payments/#supplier-bills-record-out-of-band-payment",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"amount\": \"<integer>\",\n  \"paid_on\": \"<date>\",\n  \"note\": \"<string>\",\n  \"withholdings\": [\n    {\n      \"regime\": \"vat\",\n      \"amount\": \"<integer>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Cancel a supplier bill payment",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-bills/:supplier_bill/payments/:supplier_bill_payment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-bills",
                    ":supplier_bill",
                    "payments",
                    ":supplier_bill_payment"
                  ],
                  "variable": [
                    {
                      "key": "supplier_bill",
                      "value": "",
                      "description": "Supplier bill ID."
                    },
                    {
                      "key": "supplier_bill_payment",
                      "value": "",
                      "description": "Supplier bill payment ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-bill-payments/#supplier-bills-delete-payment"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Offset agreements",
          "description": "The basis of an offset: parties, bilateral or three-party offset, contract number and date, term and the schedule of recurring offsets.",
          "item": [
            {
              "name": "Offset agreements: parties, kind, contract details, term and schedule",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-agreements",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-agreements"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-agreements/#settlement-agreements-list"
              },
              "response": []
            },
            {
              "name": "Offset agreement",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-agreements/:settlement_agreement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-agreements",
                    ":settlement_agreement"
                  ],
                  "variable": [
                    {
                      "key": "settlement_agreement",
                      "value": "",
                      "description": "Offset agreement ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-agreements/#settlement-agreements-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Offsets",
          "description": "An offset document: what a customer owes the store against what the store owes a supplier. A voided offset stays with status voided.",
          "item": [
            {
              "name": "Offsets: mutual debts of a customer and a supplier settled by an offset document",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-offsets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-offsets"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    },
                    {
                      "key": "agreement_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only offsets under this agreement."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-offsets/#settlement-offsets-list"
              },
              "response": []
            },
            {
              "name": "Offset",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-offsets/:settlement_offset",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-offsets",
                    ":settlement_offset"
                  ],
                  "variable": [
                    {
                      "key": "settlement_offset",
                      "value": "",
                      "description": "Offset ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-offsets/#settlement-offsets-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Offset lines",
          "description": "What exactly was offset: an order or the customer account debt and a supplier bill, with the settlements the offset created.",
          "item": [
            {
              "name": "Offset lines: customer debts and supplier bills that were offset",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-offset-lines",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-offset-lines"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "settlement_offset_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only lines of this offset."
                    },
                    {
                      "key": "order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only lines that settled this order's debt."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-offset-lines/#settlement-offset-lines-list"
              },
              "response": []
            },
            {
              "name": "Offset line",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/settlement-offset-lines/:settlement_offset_line",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "settlement-offset-lines",
                    ":settlement_offset_line"
                  ],
                  "variable": [
                    {
                      "key": "settlement_offset_line",
                      "value": "",
                      "description": "Offset line ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/settlement-offset-lines/#settlement-offset-lines-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Purchase orders",
          "description": "What the store ordered from a supplier: lines with ordered, confirmed and received quantities, price and promised delivery date.",
          "item": [
            {
              "name": "Purchase orders: ordered, confirmed by the supplier and received, by line",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-list"
              },
              "response": []
            },
            {
              "name": "Create a draft purchase order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"supplier_id\": \"<integer>\",\n  \"location_id\": \"<integer>\",\n  \"legal_entity_id\": \"<integer>\",\n  \"currency\": \"ARS\",\n  \"prices_include_tax\": \"<boolean>\",\n  \"expected_on\": \"<date>\",\n  \"note\": \"<string>\",\n  \"lines\": [\n    {\n      \"variant_id\": \"<integer>\",\n      \"ordered_quantity\": \"<string>\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Purchase order",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order"
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-get"
              },
              "response": []
            },
            {
              "name": "Change a purchase order: a draft in full, a placed order’s lines, date and note with a revision",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order"
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-update"
              },
              "response": []
            },
            {
              "name": "Delete a draft purchase order",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order"
                  ],
                  "query": [
                    {
                      "key": "consent[purchase_order_follow_up]",
                      "value": "",
                      "disabled": true,
                      "description": "The draft is a follow-up order from a “buy elsewhere” decision on another order’s supplier answer: deleting it withdraws that decision, and the discrepancy on the source order waits for a decision again. source_orders counts the source orders affected."
                    }
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-delete"
              },
              "response": []
            },
            {
              "name": "Mark a draft as placed with the supplier",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order/place",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order",
                    "place"
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-place"
              },
              "response": []
            },
            {
              "name": "Cancel a placed purchase order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-cancel"
              },
              "response": []
            },
            {
              "name": "Close a received purchase order",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/purchase-orders/:purchase_order/close",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "purchase-orders",
                    ":purchase_order",
                    "close"
                  ],
                  "variable": [
                    {
                      "key": "purchase_order",
                      "value": "",
                      "description": "Purchase order ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/purchase-orders/#purchase-orders-close"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Goods receipts",
          "description": "Goods received from a supplier: lines with the delivery note price and cost, before-and-after corrections. A reversal sets voided_at.",
          "item": [
            {
              "name": "Goods receipts: deliveries from suppliers with lines, delivery note prices and corrections",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/goods-receipts",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "goods-receipts"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    },
                    {
                      "key": "purchase_order_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only goods receipts against this purchase order."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/goods-receipts/#goods-receipts-list"
              },
              "response": []
            },
            {
              "name": "Goods receipt",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/goods-receipts/:goods_receipt",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "goods-receipts",
                    ":goods_receipt"
                  ],
                  "variable": [
                    {
                      "key": "goods_receipt",
                      "value": "",
                      "description": "Goods receipt ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/goods-receipts/#goods-receipts-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supplier returns",
          "description": "Goods shipped back to a supplier: lines and the expected and received compensation — a credit note, replacement goods or money.",
          "item": [
            {
              "name": "Supplier returns: goods shipped back to the supplier and the compensation for them",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-returns",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-returns"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "include_deleted",
                      "value": "",
                      "disabled": true,
                      "description": "true — also return deleted records: archived ones with deleted_at set, and records erased from the database as tombstones {id, deleted_at} in the continuation by the sync cursor. Turn it on for a sync."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    },
                    {
                      "key": "goods_receipt_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only returns from this goods receipt."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-returns/#supplier-returns-list"
              },
              "response": []
            },
            {
              "name": "Supplier return",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/supplier-returns/:supplier_return",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "supplier-returns",
                    ":supplier_return"
                  ],
                  "variable": [
                    {
                      "key": "supplier_return",
                      "value": "",
                      "description": "Supplier return ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/supplier-returns/#supplier-returns-get"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Consignment settlements",
          "description": "Statements of consignment goods sold over a period, the basis of the supplier invoice: sections, lines and totals.",
          "item": [
            {
              "name": "Consignment settlements: consignment goods sold, written off at the store's cost and repriced over a period",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/consignment-settlements",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "consignment-settlements"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "supplier_id",
                      "value": "",
                      "disabled": true,
                      "description": "Only documents of this supplier."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/consignment-settlements/#consignment-settlements-list"
              },
              "response": []
            },
            {
              "name": "Consignment settlement",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/consignment-settlements/:consignment_settlement",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "consignment-settlements",
                    ":consignment_settlement"
                  ],
                  "variable": [
                    {
                      "key": "consignment_settlement",
                      "value": "",
                      "description": "Consignment settlement ID."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/consignment-settlements/#consignment-settlements-get"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Bulk operations",
      "item": [
        {
          "name": "Uploads",
          "description": "A large file sent in chunks: the server counts received bytes, so a broken upload continues from there. The input of a bulk operation.",
          "item": [
            {
              "name": "Get a chunked file upload: how much is received",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/uploads/:upload",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "uploads",
                    ":upload"
                  ],
                  "variable": [
                    {
                      "key": "upload",
                      "value": "",
                      "description": "ID of the upload."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/uploads/#uploads-get"
              },
              "response": []
            },
            {
              "name": "Start a chunked file upload — the input of a bulk operation",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/uploads",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "uploads"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/uploads/#uploads-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"file_name\": \"<string>\",\n  \"size\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Append a file chunk as the raw body",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/octet-stream"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/uploads/:upload/chunks?offset=",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "uploads",
                    ":upload",
                    "chunks"
                  ],
                  "query": [
                    {
                      "key": "offset",
                      "value": "",
                      "description": "Byte of the file the chunk starts at: equal to received of the upload, otherwise 409 upload_offset_mismatch. The chunk itself is the raw request body."
                    }
                  ],
                  "variable": [
                    {
                      "key": "upload",
                      "value": "",
                      "description": "ID of the upload."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/uploads/#upload-chunks-create",
                "body": {
                  "mode": "file",
                  "file": {
                    "src": null
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Bulk operations",
          "description": "Thousands of records in one request: set stock, write products, export orders. The result is NDJSON, one line per input line, downloaded in ranges.",
          "item": [
            {
              "name": "List the app bulk operations changed since a given time: progress and outcomes",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bulk-operations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bulk-operations"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "type",
                      "value": "",
                      "disabled": true,
                      "description": "Only operations of this kind."
                    },
                    {
                      "key": "status",
                      "value": "",
                      "disabled": true,
                      "description": "Only operations in this status."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/bulk-operations/#bulk-operations-list"
              },
              "response": []
            },
            {
              "name": "Start a bulk operation from an upload or an input address, a feed export or a file build",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bulk-operations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bulk-operations"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/bulk-operations/#bulk-operations-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"type\": \"inventory.set\",\n  \"input\": {\n    \"upload_id\": \"<integer>\",\n    \"url\": \"<string>\"\n  },\n  \"params\": {\n    \"updated_since\": \"<date-time>\",\n    \"include_deleted\": \"<boolean>\",\n    \"number\": \"<string>\",\n    \"legal_entity_id\": \"<integer>\",\n    \"period\": \"<string>\",\n    \"books\": [\n      \"ventas\"\n    ]\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Get a bulk operation",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bulk-operations/:operation",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bulk-operations",
                    ":operation"
                  ],
                  "variable": [
                    {
                      "key": "operation",
                      "value": "",
                      "description": "ID of the bulk operation."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/bulk-operations/#bulk-operations-get"
              },
              "response": []
            },
            {
              "name": "Get the result of a bulk operation — NDJSON, a line per input line or per exported item, or the ZIP of a file operation; resume with Range",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Range",
                    "description": "One byte range to resume a download: bytes=<from>- or bytes=<from>-<to>. The result of a running operation only grows: continue with bytes=<downloaded>- without If-Range; 416 means no new lines yet. Several ranges get the whole result.",
                    "value": "",
                    "disabled": true
                  },
                  {
                    "key": "If-Range",
                    "description": "ETag of the result from the previous response. The range is served only if nothing was appended since then; otherwise the whole result (200).",
                    "value": "",
                    "disabled": true
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bulk-operations/:operation/result",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bulk-operations",
                    ":operation",
                    "result"
                  ],
                  "variable": [
                    {
                      "key": "operation",
                      "value": "",
                      "description": "ID of the bulk operation."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/bulk-operations/#bulk-operations-get-result"
              },
              "response": []
            },
            {
              "name": "Cancel a bulk operation at a line boundary",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/bulk-operations/:operation/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "bulk-operations",
                    ":operation",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "operation",
                      "value": "",
                      "description": "ID of the bulk operation."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/bulk-operations/#bulk-operations-cancel"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Events and webhooks",
      "item": [
        {
          "name": "Events",
          "description": "What changed in the store over the last 30 days, with the record as it is now. The same events go to webhook endpoints.",
          "item": [
            {
              "name": "List store events of the last 30 days: what changed in orders, payments, refunds, fiscal documents, tax periods, products, stock and customers, with the record as it is now",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "events"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "type",
                      "value": "",
                      "disabled": true,
                      "description": "Only events of this type, such as order.paid."
                    },
                    {
                      "key": "created_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only events created after this moment."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/events/#events-list"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Webhook endpoints",
          "description": "Addresses the store sends events to, signed by Standard Webhooks; the signing secret, its rotation and a test event.",
          "item": [
            {
              "name": "List the webhook endpoints of the app",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-list"
              },
              "response": []
            },
            {
              "name": "Add a webhook endpoint and subscribe it to event types",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints"
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-create",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled_events\": [\n    \"order.created\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Retrieve a webhook endpoint",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-get"
              },
              "response": []
            },
            {
              "name": "Update a webhook endpoint: URL, description, event types, status",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-update",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"<string>\",\n  \"description\": \"<string>\",\n  \"enabled_events\": [\n    \"order.created\"\n  ],\n  \"status\": \"enabled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "Delete a webhook endpoint",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  },
                  {
                    "key": "If-Match",
                    "description": "ETag of the record from the last read, for example \"7\". The change applies only if nobody changed the record since then; otherwise 412. Without it — 428.",
                    "value": ""
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-delete"
              },
              "response": []
            },
            {
              "name": "Issue a new signing secret: the previous one keeps signing deliveries alongside it for 24 hours",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint/rotate-secret",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint",
                    "rotate-secret"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-rotate-secret"
              },
              "response": []
            },
            {
              "name": "Retrieve the delivery signing secret of a webhook endpoint",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint/secret",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint",
                    "secret"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-endpoints/#webhook-endpoints-get-secret"
              },
              "response": []
            }
          ]
        },
        {
          "name": "Webhook deliveries",
          "description": "What went out to an endpoint, what waits for a retry and what failed, with the responses of the receiver; a delivery can be retried.",
          "item": [
            {
              "name": "Deliveries of a webhook endpoint: what went out, what awaits a retry, what failed",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint/deliveries",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint",
                    "deliveries"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "disabled": true,
                      "description": "Page size: up to 250 records; 50 by default."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true,
                      "description": "Opaque cursor: next_cursor of the previous page, or sync_cursor of the last page saved by the previous sync. The list goes in commit order, so the sync cursor later returns only what changed after it."
                    },
                    {
                      "key": "updated_since",
                      "value": "",
                      "disabled": true,
                      "description": "Only records changed after this moment, ISO 8601 with a time zone. A filter for the first sync; continue with the cursor."
                    },
                    {
                      "key": "status",
                      "value": "",
                      "disabled": true,
                      "description": "Only deliveries in this status."
                    }
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-deliveries/#webhook-deliveries-list"
              },
              "response": []
            },
            {
              "name": "A webhook delivery with all attempts and receiver responses",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-deliveries/:delivery",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-deliveries",
                    ":delivery"
                  ],
                  "variable": [
                    {
                      "key": "delivery",
                      "value": "",
                      "description": "ID of the webhook delivery."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-deliveries/#webhook-deliveries-get"
              },
              "response": []
            },
            {
              "name": "Send a ping test event to the endpoint — one attempt signed with the current secret",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-endpoints/:endpoint/test",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-endpoints",
                    ":endpoint",
                    "test"
                  ],
                  "variable": [
                    {
                      "key": "endpoint",
                      "value": "",
                      "description": "ID of the webhook endpoint."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-deliveries/#webhook-endpoints-test"
              },
              "response": []
            },
            {
              "name": "Retry the delivery now — the same body and the same webhook-id",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept-Language",
                    "description": "Language of error texts: es, en or ru. English by default.",
                    "value": "en"
                  },
                  {
                    "key": "Idempotency-Key",
                    "description": "Unique key of the attempt, for example a UUID. A retry with the same key and body gets the saved response instead of a second write. Keys live 24 hours.",
                    "value": "{{$guid}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhook-deliveries/:delivery/retry",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhook-deliveries",
                    ":delivery",
                    "retry"
                  ],
                  "variable": [
                    {
                      "key": "delivery",
                      "value": "",
                      "description": "ID of the webhook delivery."
                    }
                  ]
                },
                "description": "https://saleya.app/en/developers/reference/webhook-deliveries/#webhook-deliveries-retry"
              },
              "response": []
            }
          ]
        }
      ]
    }
  ]
}
