Maginium
Admin Api
Admin Api
  • About
  • API reference
    • CustomerGroups
      • Permissions
      • Default
      • Search
    • Customers
      • Confirm
      • BillingAddress
      • ShippingAddress
      • Carts
      • Me
        • Activate
        • Password
        • BillingAddress
        • ShippingAddress
      • Search
      • Activate
      • Password
        • ResetLinkToken
      • ResetPassword
      • Validate
      • IsEmailAvailable
      • Addresses
      • Permissions
        • Readonly
    • CmsPage
      • Search
    • CmsBlock
      • Search
    • Products
      • Media
        • Types
      • Options
        • Types
      • Links
        • Types
        • Attributes
      • Websites
      • Downloadable links
        • Samples
      • Attributes
        • Options
        • Types
      • Attribute sets
        • Attributes
        • Groups
          • List
        • Sets
          • List
      • Tier prices
      • Types
      • Tier prices information
      • Tier prices delete
      • Base prices information
      • Base prices
      • Cost information
      • Cost
      • Cost delete
      • Special price information
      • Special price
      • Special price delete
      • StockItems
      • Group prices
        • Tiers
          • Price
    • Categories
      • Attributes
        • Options
      • Products
      • Move
      • List
    • StockItems
      • LowStock
        • /
    • Carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods by address id
      • Estimate shipping methods
      • Payment methods
      • Totals
      • Shipping information
      • Totals information
      • Mine
        • Items
        • Selected payment method
        • Billing address
        • Coupons
        • Payment information
        • Gift message
        • Order
        • Shipping methods
        • Estimate shipping methods by address id
        • Estimate shipping methods
        • Payment methods
        • Totals
        • Collect totals
        • Shipping information
        • Totals information
        • Set payment information
      • Licence
        • List
      • /
      • Search
    • Guest carts
      • Items
      • Selected payment method
      • Billing address
      • Coupons
      • Payment information
      • Gift message
      • Order
      • Shipping methods
      • Estimate shipping methods
      • Payment methods
      • Collect totals
      • Totals
      • Shipping information
      • Totals information
      • Set payment information
    • Orders
      • Comments
      • Statuses
      • Cancel
      • Emails
      • Hold
      • Unhold
      • Items
      • Create
    • Invoices
      • Comments
      • Emails
      • Void
      • Capture
      • /
    • Creditmemo
      • Comments
      • Emails
      • Refund
    • Shipment
      • Comments
      • Emails
      • Label
      • Track
      • /
    • Transactions
    • TaxRates
      • Search
    • TaxRules
      • Search
    • TaxClasses
      • Search
    • SalesRules
      • Search
    • Coupons
      • Search
      • Generate
      • DeleteByIds
      • DeleteByCodes
    • Bulk
      • Detailed status
      • Status
      • Operation status
    • Modules
    • Search
    • Addresses
    • Products render info
    • StockStatuses
    • Creditmemos
    • Shipments
    • Amazon shipping address
    • Amazon billing address
    • Store
      • StoreViews
      • StoreGroups
      • Websites
      • StoreConfigs
    • Adobestock
      • Asset
        • Search
        • List
      • Search
    • Directory
      • Countries
      • Currency
    • Eav
      • Attribute sets
        • List
    • AttributeMetadata
      • Customer
        • Attribute
        • Form
        • Custom
      • CustomerAddress
        • Attribute
        • Form
        • Custom
    • Bundle products
      • Links
      • Options
        • Children
        • All
        • Types
        • Add
      • Children
    • Order
      • Refund
      • Ship
      • Invoice
      • Notify orders are ready for pickup
    • Configurable products
      • Children
      • Options
        • All
      • Child
      • Variation
    • Inventory
      • Sources
      • Stocks
      • Stock source links
      • Source items
      • Low quantity notification
      • Get sources assigned to stock ordered by priority
      • Stock source links delete
      • Source items delete
      • Bulk product source assign
      • Bulk product source unassign
      • Bulk product source transfer
      • Bulk partial source transfer
      • Get distance provider code
      • Get distance
      • Get latlng from address
      • Get latslngs from address
      • Export stock salable qty
      • Dump stock index data
      • Get product salable quantity
      • Is product salable
      • Are products salable
      • Is product salable for requested qty
      • Stock resolver
      • Source selection algorithm list
      • Source selection algorithm result
      • Low quantity notifications delete
      • Are product salable for requested qty
        • /
      • In store pickup
        • Pickup locations
          • /
    • Invoice
      • Refund
    • Analytics
      • Link
    • Amazon
      • Order ref
    • Applepay
      • Auth
    • Address
      • Cleanse
    • Guest address
      • Cleanse
    • Vertex address validation
      • Vertex address
    • Integration
      • Admin
        • Token
      • Customer
        • Token
Powered by GitBook
On this page
  1. API reference
  2. Invoices

Comments

PreviousInvoicesNextEmails
  • GETsales Invoice Management V1Get Comments List Get
  • POSTsales Invoice Comment Repository V1Save Post

sales Invoice Management V1Get Comments List Get

get

Lists comments for a specified invoice.

Path parameters
idstringRequired

(Required) The invoice ID.

Example: <integer>
Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/invoices/{id}/comments HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "items": [
    {
      "is_customer_notified": -80169374,
      "parent_id": 21862377,
      "comment": "nisi laborum dolore nostrud",
      "is_visible_on_front": -41255087,
      "extension_attributes": {},
      "created_at": "et",
      "entity_id": 44488953
    },
    {
      "is_customer_notified": -46596682,
      "parent_id": -38745062,
      "comment": "eu dolor eiusmod",
      "is_visible_on_front": -39225279,
      "extension_attributes": {},
      "created_at": "nisi",
      "entity_id": 23230737
    }
  ],
  "search_criteria": {
    "filter_groups": [
      {
        "filters": [
          {
            "field": "sed adipisicing dolore amet",
            "value": "minim magna",
            "condition_type": "proident"
          },
          {
            "field": "cupidatat amet et",
            "value": "mollit eiusmod dolore",
            "condition_type": "ullamco deserunt sint"
          }
        ]
      },
      {
        "filters": [
          {
            "field": "cillum do",
            "value": "sit laborum voluptate",
            "condition_type": "enim ipsum incididunt dolor"
          },
          {
            "field": "dolor labore",
            "value": "laboris irure proident in consectetur",
            "condition_type": "Lorem sunt occaecat eu consect"
          }
        ]
      }
    ],
    "sort_orders": [
      {
        "field": "Ut",
        "direction": "Excepteur amet mollit"
      },
      {
        "field": "Lorem dolor",
        "direction": "esse minim"
      }
    ],
    "page_size": 61250444,
    "current_page": -88188090
  },
  "total_count": -37447955
}

sales Invoice Comment Repository V1Save Post

post

Performs persist operations for a specified invoice comment.

Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"entity":{"is_customer_notified":-29641042,"parent_id":49280475,"comment":"anim quis amet","is_visible_on_front":-2568422,"extension_attributes":{},"created_at":"veniam dolor cillum","entity_id":97691540}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/invoices/comments HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 206

{
  "entity": {
    "is_customer_notified": -29641042,
    "parent_id": 49280475,
    "comment": "anim quis amet",
    "is_visible_on_front": -2568422,
    "extension_attributes": {},
    "created_at": "veniam dolor cillum",
    "entity_id": 97691540
  }
}
{
  "is_customer_notified": 66734434,
  "parent_id": 68782394,
  "comment": "irure et incididunt",
  "is_visible_on_front": 46725532,
  "extension_attributes": {},
  "created_at": "dolore dolor ea cupidatat est",
  "entity_id": -8724128
}