Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1091f12b0 | ||
|
|
f80f35f5d5 | ||
|
|
13bef02dcb |
@@ -30,13 +30,13 @@ type SnipcartItem struct {
|
|||||||
UUID string `json:"uniqueId"`
|
UUID string `json:"uniqueId"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Quantity float64 `json:"quantity"`
|
Quantity int `json:"quantity"`
|
||||||
TotalWeight float64 `json:"totalWeight,omitempty"`
|
TotalWeight float64 `json:"totalWeight,omitempty"`
|
||||||
CustomFieldsJSON string `json:"customFieldsJson"`
|
CustomFieldsJSON string `json:"customFieldsJson"`
|
||||||
Length string `json:"length,omitempty"`
|
Length float64 `json:"length,omitempty"`
|
||||||
Width string `json:"width,omitempty"`
|
Width float64 `json:"width,omitempty"`
|
||||||
Height string `json:"height,omitempty"`
|
Height float64 `json:"height,omitempty"`
|
||||||
Weight string `json:"weight,omitempty"`
|
Weight float64 `json:"weight,omitempty"`
|
||||||
Shippable bool `json:"shippable,omitempty"`
|
Shippable bool `json:"shippable,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ type SnipcartOrder struct {
|
|||||||
Phone string `json:"shippingAddressPhone"`
|
Phone string `json:"shippingAddressPhone"`
|
||||||
TrackingNumber string `json:"trackingNumber"`
|
TrackingNumber string `json:"trackingNumber"`
|
||||||
TrackingUrl string `json:"trackingUrl"`
|
TrackingUrl string `json:"trackingUrl"`
|
||||||
ShippingCost string `json:"shippingFees"`
|
ShippingCost float64 `json:"shippingFees"`
|
||||||
Items []SnipcartItem `json:"items"`
|
Items []SnipcartItem `json:"items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user