Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAttributeList #20

Open
AdrianRC opened this issue Dec 20, 2022 · 0 comments
Open

getAttributeList #20

AdrianRC opened this issue Dec 20, 2022 · 0 comments
Assignees

Comments

@AdrianRC
Copy link
Contributor

Returns a paginated list of the store's attributes.

Example

const attributes = getAttributeList(client, {
  limit: 25,
  page: 1
})

API

const attributes = getAttributeList(client, options);
  • client: See SwellClient.
  • options (object, optional): Options for filtering and paginating the response.
    • page (number, optional): For pagination purposes. The attributes retrieved will start at the pointer specified by this field.
    • limit (number, optional): Max number of attributes to return per page. Defaults to 15, with a maximum of 100.
    • sort (string, optional): Field to sort responses by.
@AdrianRC AdrianRC converted this from a draft issue Dec 20, 2022
@AdrianRC AdrianRC moved this to Todo in Swell SDK Dec 20, 2022
@AdrianRC AdrianRC added this to the @swell/js 0.3.0 milestone Dec 20, 2022
@bonofiglio bonofiglio moved this from Todo to In Progress in Swell SDK Jan 24, 2023
@bonofiglio bonofiglio self-assigned this Jan 24, 2023
@bonofiglio bonofiglio moved this from In Progress to Done in Swell SDK Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants