Deliver Variant
/api/product-deliveries/variants/{variantId}Records that the calling plugin delivers this variant of the store, and whether it ships it to the buyer's address. Idempotent: the record exists once however often it is called, and holds the latest ships. Refused while the seller delivers the variant by webhook, which delivers it alone, and, for a delivery that ships, while a plugin owns the variant's stock.
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Query Parameters
Value in
- "true"
- "false"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/product-deliveries/variants/string"Update Plan POST
Update the Price Adjustment Plan: replace caller's items, re-sign, return new PAPL JWT.
Set Variant Stock PUT
Sets the stock core sells a variant against, taking ownership of it for the calling plugin when no other delivering plugin owns it. The count is the plugin's absolute count; core subtracts the units still held by open checkouts and by paid orders the plugin has not delivered. A report naming `deliveredOrderId` releases that order's hold on this variant only; an order of several variants needs one report per variant.
