{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-assignments-for-get-response-schema.json",
  "title": "AssignmentsForGetResponse",
  "description": "Array of the price list assignments matching the filter. The response is paginated.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-price-lists-assignments-api-openapi.yml#/components/schemas/AssignmentsForGetResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssignmentForGetResponse"
      }
    },
    "meta": {
      "$ref": "#/$defs/CollectionMeta"
    }
  },
  "x-internal": false,
  "$defs": {
    "AssignmentForGetResponse": {
      "type": "object",
      "x-internal": false,
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "description": "Unique identifier for this price list assignment."
        },
        "price_list_id": {
          "type": "integer",
          "format": "int32",
          "description": "Pricelist ID for assignment."
        },
        "customer_group_id": {
          "type": "integer",
          "format": "int32",
          "description": "Customer group ID for assignment."
        },
        "channel_id": {
          "type": "integer",
          "format": "int32",
          "description": "Channel ID for assignment."
        }
      }
    },
    "CollectionMeta": {
      "type": "object",
      "description": "Data related the response, including pagination and collection totals.",
      "properties": {
        "pagination": {
          "type": "object",
          "description": "Data related to the response, including pagination and collection totals.",
          "title": "Pagination",
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total number of items in the result set.\n"
            },
            "count": {
              "type": "integer",
              "description": "Total number of items in the collection response.\n"
            },
            "per_page": {
              "type": "integer",
              "description": "The amount of items returned in the collection per page, controlled by the limit parameter.\n"
            },
            "current_page": {
              "type": "integer",
              "description": "The page you are currently on within the collection.\n"
            },
            "total_pages": {
              "type": "integer",
              "description": "The total number of pages in the collection.\n"
            },
            "links": {
              "type": "object",
              "description": "Pagination links for the previous and next parts of the whole collection.\n",
              "properties": {
                "previous": {
                  "type": "string",
                  "description": "Link to the previous page returned in the response.\n"
                },
                "current": {
                  "type": "string",
                  "description": "Link to the current page returned in the response.\n"
                },
                "next": {
                  "type": "string",
                  "description": "Link to the next page returned in the response.\n"
                }
              }
            }
          }
        }
      },
      "title": "Collection Meta",
      "x-internal": false
    }
  }
}