$kind: http-request
url: "{{demo}}procurement/goods-receipt"
method: POST
headers:
  username: textugapp
  apiKey: db03834002ed60dfa53963cc66bbeeb730142a16fd1bbbb6e1ebca862a798359
body:
  type: json
  content: "{\r

    \    \"purchase_order_id\": \"4931e254-cbf7-428a-8310-977814177b76\",\r

    \    \"received_date\": \"2026-01-24\",\r

    \    \"delivery_note_ref\": \"xv \",\r

    \    \"status\": \"pending_inspection\",\r

    \    \"items\": [\r

    \        {\r

    \            \"inventory_impact\": \"STOCK\",\r

    \            \"warehouse_id\": \"3580add6-4e1c-4301-8c1f-a8263ac96ec6\",\r

    \            \"purchase_order_item_id\":
    \"06bde6ec-69b6-45c1-8dcd-65c6b56e3f86\",\r

    \            \"received_quantity\": 1,\r

    \            \"accepted_quantity\": 1,\r

    \            \"rejected_quantity\": 0,\r

    \            \"remarks\": \"\"\r

    \        }\r

    \    ]\r

    }"
auth:
  type: bearer
  credentials:
    token: "{{live_token}}"
order: 1000
