fulfillment

package
v1.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

func Cancel(c *gin.Context)

Cancel marks a fulfillment as canceled by setting CanceledAt to now.

func Route

func Route(router router.Router, args ...gin.HandlerFunc)

func Ship

func Ship(c *gin.Context)

Ship marks a fulfillment as shipped by setting ShippedAt to now and optionally appending tracking labels provided in the request body.

Types

type ShipRequest

type ShipRequest struct {
	Labels []fulfillmentmodel.FulfillmentLabel `json:"labels"`
}

ShipRequest holds the optional tracking labels sent when marking a fulfillment as shipped.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL