aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-20 17:10:18 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-20 17:10:18 -0400
commit7c33cabfb815ab46e777ea61748e1a4bf5830a22 (patch)
treebbeec8cae92d8dd6282dd9f26b0f38d88ab481c9
parent5b6a50dfb8ea880c4ed77e55020dea3fd0c9a0a2 (diff)
downloadlulu-7c33cabfb815ab46e777ea61748e1a4bf5830a22.zip
add order ERROR status
-rw-r--r--status.go1
-rw-r--r--status_gen.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/status.go b/status.go
index ed9824c..e298461 100644
--- a/status.go
+++ b/status.go
@@ -15,6 +15,7 @@ const (
OrderDelivered OrderStatus = "DELIVERED" // Print-Job has been delivered by the carrier. This is supported by USPS, FedEx, and UPS.
OrderRejected OrderStatus = "REJECTED" // When there is a problem with the input data or the file, Lulu will reject a Print-Job with a detailed error message. Please contact our experts if you need help in resolving this issue.
OrderCanceled OrderStatus = "CANCELED" // You can cancel a Print-Job as long as it is “unpaid” using an API request to the status endpoint. In rare cases, Lulu might also cancel a Print-Job if a problem has surfaced in production and the order cannot be fulfilled.
+ OrderError OrderStatus = "ERROR"
)
type ItemStatus string
diff --git a/status_gen.go b/status_gen.go
index c9b4ee4..fa25ca1 100644
--- a/status_gen.go
+++ b/status_gen.go
@@ -55,6 +55,7 @@ var validOrderStatusValues = map[OrderStatus]struct{}{
OrderDelivered: {},
OrderRejected: {},
OrderCanceled: {},
+ OrderError: {},
}
// Valid validates if a value is a valid OrderStatus
@@ -76,6 +77,7 @@ func OrderStatusValues() []OrderStatus {
OrderDelivered,
OrderRejected,
OrderCanceled,
+ OrderError,
}
}