import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
await client.websites.websiteCollections.create({
collectionAddress: '0x2c02efDd09B3BA1AEaDd3dCAa7aC7A37C1CBDA8A',
name: 'x',
network: 'abstract',
organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
sortId: 99999,
websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
This response does not have an example.
Creates a new collection under a website
import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
await client.websites.websiteCollections.create({
collectionAddress: '0x2c02efDd09B3BA1AEaDd3dCAa7aC7A37C1CBDA8A',
name: 'x',
network: 'abstract',
organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
sortId: 99999,
websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
This response does not have an example.
Body
Schema representing a website collection create request
200
Was this page helpful?