This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
curl --location -g --request POST '{{subdomain}}/api2/api2/purchase_refunds.json' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: text/plain' \
--data-raw '{
  "PurchaseRefund": {
    "supplier_id": 1,
    "staff_id": 0,
    "currency_code": "USD",
    "date": "2023-03-23",
    "draft": 0,
    "PurchaseOrderItem": [
      {
        "product_id": 1,
        "quantity": 5,
        "unit_price": 50
      }
    ]
  }
}'{}