MarginEdge · JSON Structure

Public Api Get Vendor Items Packaging Response Model Structure

GetVendorItemsPackagingResponseModel schema from MarginEdge Public API

Type: object Properties: 2
RestaurantBack OfficeInvoicesInventoryAccountingReporting

GetVendorItemsPackagingResponseModel is a JSON Structure definition published by MarginEdge, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

packagings nextPage

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/marginedge/refs/heads/main/json-structure/public-api-get-vendor-items-packaging-response-model-structure.json",
  "name": "GetVendorItemsPackagingResponseModel",
  "description": "GetVendorItemsPackagingResponseModel schema from MarginEdge Public API",
  "type": "object",
  "properties": {
    "packagings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "unit": {
            "type": "string",
            "description": "Unit this packaging is measured in",
            "example": "case"
          },
          "quantity": {
            "type": "double",
            "description": "Quantity of the packaging unit present in this packaging",
            "example": 3
          },
          "packagingName": {
            "type": "string",
            "description": "Name of the packaging in MarginEdge",
            "example": "Sample Packaging"
          },
          "packagingId": {
            "type": "string",
            "description": "Identifier of the packaging for this vendor item that was purchased",
            "example": "me-packaging-9f3a2b"
          }
        }
      }
    },
    "nextPage": {
      "type": "string",
      "description": "Unique key for the next page of results",
      "example": "eyJsYXN0SWQiOiAiMTIzNDUifQ=="
    }
  }
}