marketplace
POST /v1/marketplace/vendor/sales/{sale_id}/deliver
Mark the work delivered — starts the buyer's acceptance window.
ການພິສູດຕົວຕົນ
ສົ່ງ API key ເປັນ bearer token. ຈຸດເຊື່ອມຕໍ່ (endpoint) ນີ້ບໍ່ໄດ້ລະບຸສິດອະນຸຍາດສະເພາະໃດໜຶ່ງໃນຂໍ້ກຳນົດ, ດັ່ງນັ້ນຈຶ່ງຄວນໃຫ້ສິດ key ຂອງທ່ານເທົ່າທີ່ຈຳເປັນໜ້ອຍທີ່ສຸດ ແລະ ກວດສອບການຕອບກັບ ໂດຍບໍ່ຄວນທາດເດົາເອົາເອງ.
ຈຸດເຊື່ອມຕໍ່ນີ້ບໍ່ໄດ້ຮັບ ID ອົງກອນ. ລະຫັດຂອງທ່ານໄດ້ລະບຸອົງກອນທີ່ມັນຂຶ້ນກັບແລ້ວ, ແລະ ຄໍາຕອບແມ່ນຖືກຈໍາກັດຂອບເຂດໄວ້ສໍາລັບອົງກອນນັ້ນ.
ລອງໃຊ້ເບິ່ງ
ປ່ຽນແທນທຸກຢ່າງທີ່ຢູ່ໃນວົງເລັບມຸມດ້ວຍຄ່າຂອງທ່ານເອງ, ແລະ ປ່ຽນແທນຕົວແທນບ່ອນວ່າງຄີດ້ວຍຄີຈາກແຜງຄວບຄຸມຂອງທ່ານ.
curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/sales/{sale_id}/deliver \
-H "Authorization: Bearer zdk_live_…"ເຂົ້າສູ່ລະບົບແລ້ວບໍ? ໂຄງສົນທະນາ API ໃນໜ້າັດສະຫຼອງຂອງທ່ານຈະຕື່ມຂໍ້ມູນລະຫັດອົງກອນຕົວຈິງ ແລະ ລະຫັດລັບສ່ວນຕົວຂອງທ່ານໂດຍອັດຕະໂນມັດ, ແລະ ປະຕິບັດການຮ້ອງຂໍຜ່ານ API ຕົວຈິງ ເພື່ອໃຫ້ທ່ານສາມາດເຫັນຜົນຕອບຮັບທີ່ແທ້ຈິງໄດ້. ເປີດຈຸດສິ້ນສຸດນີ້ໃນຄອນໂສລ API
ລາຍລະອຽດ
Delivery is the **seller's claim**, never the end of the sale, and it moves no money: it starts the buyer's acceptance window and nothing else. Redelivery after a revision **restarts** the clock, measured from the redelivery rather than from the original — the buyer's window is a window on the delivery in front of them. Without that, a seller redelivering on day four of a five-day window would hand the buyer one day to check a whole revision. Scoped to the SELLER's org. A buyer marking their own purchase delivered would be starting the clock that releases the seller's money before anything was sent.
ພາຣາມິເຕີ
| ຊື່ | ປະເພດ | ຕ້ອງການ | ສິ່ງທີ່ມັນເປັນ |
|---|---|---|---|
sale_id (path) | string | ແມ່ນແລ້ວ | — |
ຖືກໂຈະ
| ຊື່ | ປະເພດ | ຕ້ອງການ | ສິ່ງທີ່ມັນເປັນ |
|---|---|---|---|
id | Uuid | ແມ່ນແລ້ວ | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
state | MarketplaceSaleState | ແມ່ນແລ້ວ | Where one purchased package is in its life (docs/82 §3). The terminal state is `accepted`, not `delivered`: delivery is the vendor's claim, acceptance is the buyer's act, and it… |
listing_id | Uuid | ແມ່ນແລ້ວ | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
listing_title | string | ແມ່ນແລ້ວ | — |
package_name | string | ແມ່ນແລ້ວ | — |
delivery_days | integer | ບໍ່ | — |
revisions_included | integer | ບໍ່ | — |
revision_count | integer | ບໍ່ | — |
billing_mode | MarketplaceBillingMode | ບໍ່ | How an offer is charged (docs/82 §2a). A property of the OFFER, chosen by the seller from what the listing type permits — a $200 one-off audit and $150/month of link building si… |
billing_interval | object | ບໍ່ | — |
period_index | integer | ບໍ່ | — |
gross_minor | integer | ແມ່ນແລ້ວ | What the buyer paid for this line, excluding tax. |
commission_bps | integer | ບໍ່ | — |
commission_minor | integer | ບໍ່ | — |
vendor_net_minor | integer | ບໍ່ | gross - commission, always. Never a second independent rounding: a half-penny landing in neither figure is too small to find and too persistent to ignore. |
currency | CurrencyCode | ແມ່ນແລ້ວ | ISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8). |
auto_accepts | boolean | ບໍ່ | — |
accept_by | object | ບໍ່ | — |
delivered_at | object | ບໍ່ | — |
accepted_at | object | ບໍ່ | — |
accepted_automatically | boolean | ບໍ່ | — |
last_revision_reason | string | ບໍ່ | What the buyer asked to be changed. The seller MUST be able to read this — it is the instruction, and a rejection without one produces a second rejection. |
last_revision_at | object | ບໍ່ | — |
created_at | string | ບໍ່ | — |
ຂໍ້ຜິດພາດທີ່ຈຸດເຊື່ອມຕໍ່ນີ້ສາມາດສົ່ງຄືນໄດ້
401 · 404 · 422