Returns a single Wished Item by its ID. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishedItems.show({
bearer_token: '7381273269536713689562374856'
id: '1'
})
Creates a new Wished Item and returns its attributes. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishedItems.create({
bearer_token: '7381273269536713689562374856',
wished_item: {
wishlist_id: 'string',
variant_id: 'string',
quantity: 0
}
})
Update selected Wished Item. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishedItems.update({
bearer_token: '7381273269536713689562374856',
id: '1',
wished_item: {
wishlist_id: 'string',
variant_id: 'string',
quantity: 0
}
})
This endpoint removes the specified Wished Item. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishedItems.remove({
bearer_token: '7381273269536713689562374856',
id: '1'
})
Protected
spreeOptional
tokens: ITokenOptional
params: anyOptional
responseParsing: ResponseParsingProtected
classifyProtected
processProtected
processProtected
spreeGenerated using TypeDoc
Returns a list of all Wished Items. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example: