novinzodevelopers
API referenceCore for pluginsProduct deliveries

Deliver Variant

PUT/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

variantId*string
Match^([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

ships?string

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"
Empty