Read an Etsy shop and its profiles again
const url = 'https://api.crossmart.io/api/v1/workspaces/example/channel-connections/example/etsy/shop/refresh';const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.crossmart.io/api/v1/workspaces/example/channel-connections/example/etsy/shop/refresh \ --header 'x-api-key: <x-api-key>'After the merchant creates or edits shipping or processing profiles on Etsy. The listing setup is kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”object
The account on the channel
Why it needs re-auth or failed
What the connection cannot do until the merchant approves the app again
The store’s details, for Shopify connections
object
ISO 4217 code of the store’s currency
The storefront’s public URL
Where Crossmart reads and writes stock
object
The account’s details on its marketplace, for eBay connections
object
ISO 4217 code of the marketplace’s currency
EBay’s immutable id of the user
False when the account has not opted in to business policies on eBay
object
object
object
object
What listings are published with; policies resolve to the only one of a type
object
object
ISO 3166 alpha-2 country code
The inventory location Crossmart created on eBay for location
Whether listings can be published: policies of each type and a ship-from set
The Merchant Center account and its listing setup, for Google connections
object
The website the account claimed; product links must be on it
Whether the account verified and claimed its website
ISO 4217 code of the country’s currency
The language listings are written in
Null until the merchant saves it; publishing needs it
object
The Merchant Center API data source Crossmart publishes into
Whether the listing setup is saved, so products can be listed
The Etsy shop, its profiles and its listing setup, for Etsy connections
object
ISO 4217 code of the shop’s currency
object
object
Processing profiles: whether items are ready to ship or made to order, and how long they take
object
Null until the merchant saves it; publishing needs it
object
Whether the items are craft supplies rather than finished products
The shipping profile listings use; null when the shop has none or several and none is chosen
The processing profile listings use
Whether the listing setup is complete, so products can be listed
Which products the connection lists; null lists every product
object
object
Matches title, handle or SKU
Products with any of these tags
Products of this vendor, ignoring case
How the connection prices variants; null sends catalog prices
object
Markup (positive) or discount (negative), -90 to 500
Added after the percentage; may be negative
object
Never price below cost plus this percentage (0 to 1000)
Store-currency units per catalog-currency unit, used instead of the ECB daily rate. Only applies when the store sells in another currency than the workspace.
Listings in this store whose last sync failed
Whether listings can be published here, and what the store setup lacks
object
True when listings can be published to this store
What to finish before publishing, in order; empty when ready. reconnect alone when the store needs to be connected again. eBay: shipping_policy, payment_policy, return_policy, ship_from_location. Google: listing_setup. Etsy: item_details, shipping_profile, processing_profile. account_settings when the account was never read.
Example
{ "channel": "shopify", "externalAccountId": "demo-store.myshopify.com", "displayName": "Demo Store", "status": "CONNECTED", "missingFeatures": [ "storefront_visibility" ], "shopify": { "currencyCode": "USD", "ianaTimezone": "America/New_York", "primaryLocation": { "id": "gid://shopify/Location/1001" } }, "ebay": { "marketplaceId": "EBAY_US", "currencyCode": "USD", "username": "demo_seller", "policies": { "fulfillment": [ { "id": "6000000001", "name": "Free shipping" } ], "payment": [ { "id": "6000000001", "name": "Free shipping" } ], "return": [ { "id": "6000000001", "name": "Free shipping" } ] }, "listingDefaults": { "condition": "NEW", "location": { "postalCode": "95125", "country": "US", "city": "San Jose" } } }, "googleMerchant": { "accountId": "123456789", "accountName": "Acme Goods", "country": "US", "currencyCode": "USD", "contentLanguage": "en", "listingSetup": { "country": "US", "productUrlTemplate": "https://acme.example/products/{handle}" } }, "etsy": { "shopId": "87654321", "shopName": "ClayAndKiln", "currencyCode": "USD", "shopUrl": "https://www.etsy.com/shop/ClayAndKiln", "profiles": { "shipping": [ { "id": "6722757781", "name": "Free US shipping" } ], "processing": [ { "id": "6722757781", "name": "Free US shipping" } ] }, "listingSetup": { "whoMade": "i_did", "whenMade": "made_to_order" } }, "productSelection": { "filter": { "status": "DRAFT", "gap": "images" } }, "pricing": { "adjustmentPercent": "15", "fixedAmount": "0", "rounding": "none", "floor": { "minMarginPercent": "30" }, "compareAt": "adjust", "fixedExchangeRate": "0.92" }, "publishReadiness": { "missing": [ "shipping_policy", "ship_from_location" ] }}