chore(docs): Generated API Reference (#2882)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
233d6904f8
commit
4814045036
@@ -0,0 +1,78 @@
|
||||
type: object
|
||||
properties:
|
||||
claim_items:
|
||||
description: The Claim Items that the Claim will consist of.
|
||||
type: array
|
||||
items:
|
||||
required:
|
||||
- id
|
||||
- images
|
||||
- tags
|
||||
properties:
|
||||
id:
|
||||
description: The ID of the Claim Item.
|
||||
type: string
|
||||
item_id:
|
||||
description: The ID of the Line Item that will be claimed.
|
||||
type: string
|
||||
quantity:
|
||||
description: The number of items that will be returned
|
||||
type: integer
|
||||
note:
|
||||
description: Short text describing the Claim Item in further detail.
|
||||
type: string
|
||||
reason:
|
||||
description: The reason for the Claim
|
||||
type: string
|
||||
enum:
|
||||
- missing_item
|
||||
- wrong_item
|
||||
- production_failure
|
||||
- other
|
||||
tags:
|
||||
description: A list o tags to add to the Claim Item
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: Tag ID
|
||||
value:
|
||||
type: string
|
||||
description: Tag value
|
||||
images:
|
||||
description: A list of image URL's that will be associated with the Claim
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: Image ID
|
||||
url:
|
||||
type: string
|
||||
description: Image URL
|
||||
metadata:
|
||||
description: An optional set of key-value pairs to hold additional information.
|
||||
type: object
|
||||
shipping_methods:
|
||||
description: The Shipping Methods to send the additional Line Items with.
|
||||
type: array
|
||||
items:
|
||||
properties:
|
||||
id:
|
||||
description: The ID of an existing Shipping Method
|
||||
type: string
|
||||
option_id:
|
||||
description: The ID of the Shipping Option to create a Shipping Method from
|
||||
type: string
|
||||
price:
|
||||
description: The price to charge for the Shipping Method
|
||||
type: integer
|
||||
no_notification:
|
||||
description: If set to true no notification will be send related to this Swap.
|
||||
type: boolean
|
||||
metadata:
|
||||
description: An optional set of key-value pairs to hold additional information.
|
||||
type: object
|
||||
Reference in New Issue
Block a user