ឯកសារយោង API

commerce

ចំណុចបញ្ចប់ 19 នៅក្នុងតំបន់នេះ។ នីមួយៗមានទំព័រផ្ទាល់ខ្លួនជាមួយនឹងប៉ារ៉ាម៉ែត្រ ការឆ្លើយតប និងសំណើដែលអ្នកអាចដំណើរការបាន។

វិធីសាស្ត្រផ្លូវមុខងាររបស់វាការអនុញ្ញាត
POST/v1/cartsOpen a shopping cart.billing.payment.manage
POST/v1/carts/adoptCarry a guest basket into the signed-in account.billing.payment.manage
GET/v1/carts/{cartId}Get a cart.
POST/v1/carts/{cartId}/checkoutCheck out a cart — place and charge an order.billing.payment.manage
POST/v1/carts/{cartId}/linesAdd a line to a cart.
DELETE/v1/carts/{cartId}/lines/{lineId}Remove a line from a cart.
GET/v1/ordersList orders in scope.billing.view
GET/v1/orders/{orderId}Get an order.
POST/v1/orders/{orderId}/customer-actionReopen the checkout for a payment that is waiting on the customer.
POST/v1/orders/{orderId}/payPay an order that was placed but not charged.
GET/v1/orders/{orderId}/payment-optionsThe payment gateways this order may be settled on.
POST/v1/orders/{orderId}/paypalOpen a PayPal order for the browser to complete.
POST/v1/orders/{orderId}/paypal/captureCapture a PayPal order the buyer completed.
GET/v1/orders/{orderId}/refund-eligibilityPreview an order's refund eligibility.billing.view
POST/v1/orders/{orderId}/refund-requestRequest a refund for an order.billing.payment.manage
GET/v1/refund-requestsList the organization's refund requests.billing.view
GET/v1/refund-requests/{refundRequestId}Get a refund request.billing.view
POST/v1/refund-requests/{refundRequestId}/approveApprove a pending refund request (staff).
POST/v1/refund-requests/{refundRequestId}/rejectReject a pending refund request (staff).billing.refund