Order Items

Update an order item

Update an order item.

put/admin/order-items/{order_item_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/order-items/{order_item_id}
  • Auth: HTTP bearer

Path parameters

order_item_idstring uuid required
Example:e1f242fc-9260-4a51-96a0-ef4007c6500f

Request body

refund_methodstring nullable
refund_referencestring nullable
vendor_invoice_idstring nullable
vendor_costnumber nullable
vendor_invoice_urlstring nullable
sale_pricenumber
apply_to_addonsboolean
publisher_payout_override_reasonstring

Response

Order Item updated successfully

idstring uuid required
referrer_idstring uuid nullable required
referrer_team_idstring uuid nullable required
order_line_item_idstring uuid required
product_idstring uuid required
campaign_idstring uuid nullable required
linked_order_item_idstring uuid nullable required
commission_amountnumber nullable required
commission_status'PAID' | 'PENDING' | 'CANCELLED' required
is_accounting_completedboolean nullable
is_publisher_paidboolean nullable
is_reseller_paidboolean nullable
is_add_onboolean nullable
refund_requiredboolean nullable
is_refundedboolean nullable
refund_methodstring nullable required
refund_referencestring nullable required
vendor_invoice_idstring nullable required
vendor_costnumber nullable required
vendor_invoice_urlstring nullable required

Example response

[
  {
    "commission_amount": 14.179,
    "commission_status": "PENDING"
  }
]

Changes

No recorded changes to this operation across all 2 revisions of this API.