added tracking response
This commit is contained in:
@@ -36,20 +36,22 @@ type SnipcartItem struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SnipcartOrder struct {
|
type SnipcartOrder struct {
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
Invoice string `json:"invoiceNumber"`
|
Invoice string `json:"invoiceNumber"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
TotalWeight float64 `json:"totalWeight"`
|
TotalWeight float64 `json:"totalWeight"`
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
Name string `json:"shippingAddressName"`
|
Name string `json:"shippingAddressName"`
|
||||||
Address1 string `json:"shippingAddressAddress1"`
|
Address1 string `json:"shippingAddressAddress1"`
|
||||||
Address2 string `json:"shippingAddressAddress2"`
|
Address2 string `json:"shippingAddressAddress2"`
|
||||||
City string `json:"shippingAddressCity"`
|
City string `json:"shippingAddressCity"`
|
||||||
Province string `json:"shippingAddressProvince"`
|
Province string `json:"shippingAddressProvince"`
|
||||||
Country string `json:"shippingAddressCountry"`
|
Country string `json:"shippingAddressCountry"`
|
||||||
PostalCode string `json:"shippingAddressPostalCode"`
|
PostalCode string `json:"shippingAddressPostalCode"`
|
||||||
Phone string `json:"shippingAddressPhone"`
|
Phone string `json:"shippingAddressPhone"`
|
||||||
Items []SnipcartItem `json:"items"`
|
TrackingNumber string `json:"trackingNumber"`
|
||||||
|
TrackingUrl string `json:"trackingUrl"`
|
||||||
|
Items []SnipcartItem `json:"items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SnipcartOrders struct {
|
type SnipcartOrders struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user