Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Merge 'development' feature/price-list-resource
Browse files Browse the repository at this point in the history
  • Loading branch information
incentrotolgaakyazi committed Sep 16, 2022
2 parents 2db83f7 + 7a0a9b1 commit 1284305
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion commercelayer/resource_price_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ func resourcePriceListDeleteFunc(ctx context.Context, d *schema.ResourceData, i
c := i.(*commercelayer.APIClient)
_, err := c.PriceListsApi.DELETEPriceListsPriceListId(ctx, d.Id()).Execute()
return diag.FromErr(err)
// return diag.Errorf("Not implemented")
}

func resourcePriceListUpdateFunc(ctx context.Context, d *schema.ResourceData, i interface{}) diag.Diagnostics {
Expand Down
8 changes: 8 additions & 0 deletions examples/full/customer_groups.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
resource "commercelayer_customer_group" "incentro_customer_group" {
attributes {
name = "incentro_group"
metadata = {
foo: "bar"
}
}
}

0 comments on commit 1284305

Please sign in to comment.