Skip to content

Commit

Permalink
update time and id datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Riehl committed Jan 11, 2024
1 parent 4293e9b commit 5c6dc81
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions reference/webhooks.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,12 @@ paths:
default: true
created_at:
type: integer
description: Created time
example: 1561488106
description: The time the webhook was created, represented in UNIX epoch time.
updated_at:
type: integer
description: Updated time
example: 1561488106
description: The time the webhook was most recently updated, represented in UNIX epoch time.
status:
type: string
description: The webhook status.
Expand Down Expand Up @@ -449,7 +451,7 @@ components:
type: object
properties:
id:
type: number
type: integer
client_id:
type: string
minLength: 1
Expand All @@ -471,9 +473,11 @@ components:
is_active:
type: boolean
created_at:
type: number
type: integer
description: The time the webhook was created, represented in UNIX epoch time.
updated_at:
type: number
type: integer
description: The time the webhook was most recently updated, represented in UNIX epoch time.
meta:
type: object
properties:
Expand Down Expand Up @@ -605,7 +609,7 @@ components:
type: object
properties:
id:
type: number
type: integer
client_id:
type: string
minLength: 1
Expand All @@ -627,9 +631,11 @@ components:
is_active:
type: boolean
created_at:
type: number
type: integer
description: The time the webhook was created, represented in UNIX epoch time.
updated_at:
type: number
type: integer
description: The time the webhook was most recently updated, represented in UNIX epoch time.
meta:
type: object
properties:
Expand Down Expand Up @@ -2706,7 +2712,7 @@ components:
- relative
value:
type: integer
description: 'The number of items that the inventory changed by. This can be negative if the inventory is decreased `-3` or positive if an item is returned to the inventory from an order, `2`'
description: 'The number of items that the inventory changed by. This can be negative if the inventory is decreased `-3` or positive if an item is returned to the inventory from an order, `2`.'
example: 2
variant_id:
type: integer
Expand Down Expand Up @@ -2779,7 +2785,7 @@ components:
- relative
value:
type: integer
description: 'The number of items that the inventory changed by. This can be negative if the inventory is decreased `-3` or positive if an item is returned to the inventory from an order, `2`'
description: 'The number of items that the inventory changed by. This can be negative if the inventory is decreased `-3` or positive if an item is returned to the inventory from an order, `2`.'
example: 2
variant_id:
type: integer
Expand Down Expand Up @@ -3106,11 +3112,11 @@ components:
created_at:
type: integer
example: 1561488106
description: Time when the webhook was created.
description: The time the webhook was created, represented in UNIX epoch time.
updated_at:
type: integer
example: 1561488106
description: Time when the webhook was updated.
description: The time the webhook was most recently updated, represented in UNIX epoch time.
HistoryEvent:
type: object
properties:
Expand Down Expand Up @@ -3180,8 +3186,8 @@ components:
- properties:
created_at:
type: integer
example: 1561482670
description: Hook creation date, in Unix timestamp format.
example: 1561488106
description: The time the webhook was created, represented in UNIX epoch time.
readOnly: true
store_id:
type: string
Expand Down

0 comments on commit 5c6dc81

Please sign in to comment.