Skip to content

Commit

Permalink
Merge pull request #548 from labd/547-active-flag-to-resource-shippin…
Browse files Browse the repository at this point in the history
…g_method-not-working-correct

fix: made shipping_method active field default to true
  • Loading branch information
demeyerthom authored Dec 4, 2024
2 parents 942cc86 + 778f65e commit 47bb754
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20241204-103555.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: Fixed default shipping_method active field
time: 2024-12-04T10:35:55.737560094+01:00
3 changes: 2 additions & 1 deletion commercetools/resource_shipping_method.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ func resourceShippingMethod() *schema.Resource {
Optional: true,
},
"active": {
Description: "Activate or deactivate a shippinh method. Default is active.",
Description: "Activate or deactivate a shipping method. Default is active.",
Type: schema.TypeBool,
Optional: true,
Default: true,
},
"is_default": {
Description: "One shipping method in a project can be default",
Expand Down

0 comments on commit 47bb754

Please sign in to comment.