Skip to content

Export 360 Spins to MSC Direct

By , Customer Success DirectorUpdated

Open this page in a new chat

Short answer

Sirv prepares 360 spins for MSC Direct listings to MSC's rules for format, size and file names. Run a short script that calls the Sirv REST API with each spin's path and its MSC ID, for one spin or hundreds at once. The zip files appear in your Sirv account a few seconds later, ready to send to MSC.

After reading this you will know

  • How to export 360 spins for MSC Direct
  • How to do it with the API
  • What MSC requires, and how Sirv meets it
MSC Industrial Supply logo

Use Sirv to prepare 360-degree product spin images for your MSC Direct listings.

Your 360 spins can be displayed on the MSC Industrial Supply website.

To submit your product images to MSC, they should be prepared to certain specifications for image format, size and filename.

Sirv can automatically make all the necessary preparations, helping you to pass through the MSC quality control process, as it does for Lowe’s, The Home Depot, Walmart and Grainger.

To make many zips in one go, run a short script with the Sirv REST API. It sends each spin to the Export spin to MSC Direct command, the same export as in your account.

1. In your Sirv account, go to Settings > API access and create an API client. Keep its client ID and secret to hand.

2. Make a file called spins.csv with one spin per line: the spin’s path in your Sirv account, a comma, then its MSC ID:

/products/drill/drill.spin,12345678
/products/saw/saw.spin,12345679

3. Save this script as export.mjs in the same folder:

// export.mjs: makes a MSC Direct zip for each spin in spins.csv
import { readFileSync } from 'node:fs';
const api = 'https://api.sirv.com/v2';
const auth = await fetch(`${api}/token`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ clientId: process.env.SIRV_CLIENT_ID, clientSecret: process.env.SIRV_CLIENT_SECRET }),
});
const { token } = await auth.json();
for (const line of readFileSync('spins.csv', 'utf8').split('\n').filter(Boolean)) {
const [filename, id] = line.split(',').map((s) => s.trim());
const res = await fetch(`${api}/files/spin2msc360`, {
method: 'POST',
headers: { 'content-type': 'application/json', authorization: `Bearer ${token}` },
body: JSON.stringify({ filename, mscid: id }),
});
console.log(filename, res.status, await res.text());
}

4. Run it with Node.js 18 or later, with your client ID and secret in the environment:

SIRV_CLIENT_ID=your-client-id SIRV_CLIENT_SECRET=your-client-secret node export.mjs

Each line of the output names the zip Sirv made, saved in your account next to the spin. Rather not run a script? Send the same request one spin at a time from Postman.

Alternatively, you can use the Sirv REST API to automatically convert spins to MSC Direct zips via your own script.

API endpoint:

/v2/files/spin2msc360

Parameters:

  • filename - path to your .spin file
  • mscid - MSC ID (unique vendor item number for each product)

First you would create a Sirv API key and obtain a bearer token.

Then you would write a script, using that bearer token to submit a zip preparation request. Below is an example script using Curl:

curl --request POST \
--url https://api.sirv.com/v2/files/spin2msc360 \
--header 'Authorization: Bearer eyJhb207uhakD7j29Fjak6jS754gOGkq3b' \
--header 'Content-Type: application/json' \
--data '{
"filename": "/My-Products/Dial-Callipers/Dial-Callipers.spin",
"mscid": "MT5-01870H"
}
'

After a few seconds, the zip file will appear in your account.

Sirv applies the following processing options to meet MSC’s 360-degree product photography requirements:

  • JPEG format
  • 24 to 48 images for single row spin; up to 72 images for multi-row spin
  • At least 1000px by 1000px (width/height)
  • Images should be cropped close to the product edges
  • Images should be free from shadows, hotspots, discoloration
  • Background must be white
  • Color profile must be RGB
  • Name files with MSC ID, underscore, 2-digits e.g. {ID}_C01.jpg, {ID}_C02.jpg etc.
  • Compressed in .zip file, with folder named after MSC ID

Each zip will be created within a few seconds, then you can send the zip URLs to MSC.

Back to top