Returns a single Wishlist 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.wishlists.show({
bearer_token: '7381273269536713689562374856'
id: '1'
})
Creates a new Wishlist 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.wishlists.create({
bearer_token: '7381273269536713689562374856',
wishlist: {
name: 'string',
user_id: 'string',
is_default: true,
is_private: true
}
})
Update selected Wishlist. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishlists.update({
bearer_token: '7381273269536713689562374856',
id: '1',
wishlist: {
name: 'string',
user_id: 'string',
is_default: true,
is_private: true
}
})
This endpoint removes the specified Wishlist. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example:
const response = await client.wishlists.remove({
bearer_token: '7381273269536713689562374856',
id: '1'
})
Protected
spreeOptional
tokens: ITokenOptional
params: anyOptional
responseParsing: ResponseParsingProtected
classifyProtected
processProtected
processProtected
spreeGenerated using TypeDoc
Returns a list of Wishlists. See api docs.
Required token: Bearer token
Success response schema: Success schema
Failure response schema: Error schema
Example: