Bastian de Byl
|
cf4ad9642d
|
added Taxes to Order (omitempty)
|
2023-07-03 13:18:42 -04:00 |
|
Bastian de Byl
|
e1adf8cf4f
|
added Offset and Limit to Orders struct
|
2023-07-03 12:14:40 -04:00 |
|
Bastian de Byl
|
73195a090f
|
added ShippingError and ShippingErrors struct
|
2023-06-06 19:54:21 -04:00 |
|
Bastian de Byl
|
db81f246bf
|
corrected TaxContent time for epoch (unix time) int from time.Time
|
2023-06-06 19:12:01 -04:00 |
|
Bastian de Byl
|
9c7218f937
|
added TaxWebhook struct
|
2023-06-06 19:07:14 -04:00 |
|
Bastian de Byl
|
543935289f
|
removed unused snipcart/client.go file
|
2023-06-06 18:38:42 -04:00 |
|
Bastian de Byl
|
a4127264ef
|
expanded webhook tax coverage, moved and renamed items to exclude Snipcart preamble
|
2023-06-06 18:28:10 -04:00 |
|
Bastian de Byl
|
5a74c2bae8
|
main corrected Operation in ProductCustomField to float64 from int
|
2023-05-12 15:23:14 -04:00 |
|
Bastian de Byl
|
d7f1571e09
|
main added CustomFields to snipcart product
|
2023-05-12 15:20:36 -04:00 |
|
Bastian de Byl
|
f18e21f181
|
main return only one product for GetProductById
|
2023-05-12 10:46:54 -04:00 |
|
Bastian de Byl
|
d56cf589da
|
main correct the output of GetProductById
|
2023-05-12 03:14:07 -04:00 |
|
Bastian de Byl
|
9e631a91b1
|
corrected SnipcartProductsResponse, added GetProductById
|
2023-05-12 00:36:50 -04:00 |
|
Bastian de Byl
|
e575ff03a8
|
added GetProducts, SnipcartProductsResponse, SnipcartProductVariant
|
2023-05-12 00:01:55 -04:00 |
|
Bastian de Byl
|
0ec82e6397
|
modified NewClient to return ptr
|
2023-05-03 14:22:29 -04:00 |
|
Bastian de Byl
|
687a5df39f
|
added ValidateWebhook(token) func to client
|
2023-05-03 14:20:15 -04:00 |
|
Bastian de Byl
|
131af89f4f
|
moved enums to enums.go, added SendNotification, Notification structs & enums
|
2023-04-12 16:56:01 -04:00 |
|
Bastian de Byl
|
b93afeec2f
|
added Created and Modified times to SnipcartOrder
|
2023-04-09 18:31:53 -04:00 |
|
Bastian de Byl
|
b08b64f5b2
|
added SnipcartTax and SnipcartWebhookTaxResponse
|
2023-04-06 17:59:48 -04:00 |
|
Bastian de Byl
|
ad93704f41
|
renamed Order.ShippingRate to Order.ShippingRateId
|
2023-04-03 21:20:22 -04:00 |
|
Bastian de Byl
|
b97ee3132b
|
consolidated webhook order to just order
|
2023-03-29 13:24:09 -04:00 |
|
Bastian de Byl
|
cfdde462f4
|
added more order struct details
|
2023-03-29 13:14:30 -04:00 |
|
Bastian de Byl
|
e039b583e2
|
fixed Curreny to Currency typo
|
2023-03-13 00:26:11 -04:00 |
|
Bastian de Byl
|
26571a41fa
|
changed ShippingAddress State to Province
|
2023-03-13 00:16:22 -04:00 |
|
Bastian de Byl
|
559a100e90
|
added more missing OrderEventContent fields
|
2023-03-13 00:14:47 -04:00 |
|
Bastian de Byl
|
6ff851823e
|
added missing OrderEventContent fields
|
2023-03-13 00:12:11 -04:00 |
|
Bastian de Byl
|
db6e320b7f
|
added webhook specific structs
|
2023-03-13 00:07:50 -04:00 |
|
Bastian de Byl
|
563e6baeda
|
main added Metadata field to SnipcartOrder struct
|
2023-03-02 17:19:50 -05:00 |
|
Bastian de Byl
|
36ca8d6f83
|
added initial webhook main function
|
2023-02-26 20:36:12 -05:00 |
|
Bastian de Byl
|
d182b35d56
|
updated helper module
|
2023-02-26 15:26:59 -05:00 |
|
Bastian de Byl
|
1d5b44c7e9
|
renamed SnipcartProvider to Client
|
2023-02-26 14:41:04 -05:00 |
|
Bastian de Byl
|
84941b7acd
|
corrected Price related field types
|
2023-02-26 14:17:31 -05:00 |
|
Bastian de Byl
|
28f77f63b9
|
added Total and Subtotal to SnipcartOrder
|
2023-02-26 14:16:26 -05:00 |
|
Bastian de Byl
|
2a97bca474
|
added TotalPrice to SnipcartItem
|
2023-02-26 14:14:52 -05:00 |
|
Bastian de Byl
|
2d91d1d122
|
corrected SnipcartItem
|
2023-02-26 14:11:55 -05:00 |
|
Bastian de Byl
|
bfb6497d25
|
fixed UpdateOrder method
|
2023-02-26 02:38:14 -05:00 |
|
Bastian de Byl
|
82b88cbaf5
|
fixed data Put in UpdateOrder again with bytes buffer
|
2023-02-26 02:14:57 -05:00 |
|
Bastian de Byl
|
994cabc20e
|
fixed data Put in UpdateOrder
|
2023-02-26 02:13:20 -05:00 |
|
Bastian de Byl
|
bde3d07c28
|
added unique struct for UpdateOrder
|
2023-02-26 02:08:36 -05:00 |
|
Bastian de Byl
|
0bf0abd435
|
fixed order pointer in UpdateOrder
|
2023-02-26 02:04:24 -05:00 |
|
Bastian de Byl
|
82106ee4e0
|
added UpdateOrder function, fixed response statuscode handling
|
2023-02-26 02:01:02 -05:00 |
|
Bastian de Byl
|
c1091f12b0
|
changed ShippingCost type to float64 in SnipcartOrder
|
2023-02-26 01:32:24 -05:00 |
|
Bastian de Byl
|
f80f35f5d5
|
changed dimension types in SnipcartItem struct
|
2023-02-26 01:31:28 -05:00 |
|
Bastian de Byl
|
13bef02dcb
|
changed weight strinbg to float64
|
2023-02-26 01:30:13 -05:00 |
|
Bastian de Byl
|
e6ffe724af
|
added more fields to SnipcartItem struct
|
2023-02-26 01:28:02 -05:00 |
|
Bastian de Byl
|
8fee81d8a4
|
added ShippingCost to SnipcartOrder
|
2023-02-26 00:07:03 -05:00 |
|
Bastian de Byl
|
41c58a497b
|
added GetOder(token) function
|
2023-02-25 20:21:48 -05:00 |
|
Bastian de Byl
|
831ad7c029
|
added order: prefix to TokenPNGBase64
|
2023-02-25 16:57:10 -05:00 |
|
Bastian de Byl
|
be7452ddc1
|
added order TokenPNGBase64
|
2023-02-25 16:49:56 -05:00 |
|
Bastian de Byl
|
3627712c9b
|
added tracking response
|
2023-02-25 16:40:03 -05:00 |
|
Bastian de Byl
|
ee3e1cffa1
|
updates
|
2023-02-25 14:17:13 -05:00 |
|