Skip to content

Commit

Permalink
add metadata property to ProductsCreateResponse (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
salzhrani authored Aug 9, 2022
1 parent 7ae2f44 commit a8557d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-needles-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@voucherify/sdk': patch
---

add metadata property to ProductsCreateResponse
1 change: 1 addition & 0 deletions packages/sdk/src/types/Products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface ProductsCreateResponse {
attributes?: string[]
created_at: string
image_url?: string
metadata?: Record<string, any>
}

export type ProductsGetResponse = ProductsCreateResponse & ProductsGetResponseSkus
Expand Down

0 comments on commit a8557d1

Please sign in to comment.