DevelopersAPI reference

Store imports API

REST endpoints for store imports in SKUFlow: 10 operations with parameters, request and response fields, permissions and curl examples.

Base URL: https://app.skuflow.ai/api. Every call needs Authorization: Bearer skf_… (Authentication); {organizationId} ($ORGANIZATION_ID in the examples) is your business's id.

OperationEndpointRisk
The DecoNetwork connectionGET /organizations/{organizationId}/store-imports/deconetwork/connectionread
Connect DecoNetworkPUT /organizations/{organizationId}/store-imports/deconetwork/connectionsensitive
Disconnect DecoNetworkDELETE /organizations/{organizationId}/store-imports/deconetwork/connectionsensitive
List the DecoNetwork site's storesGET /organizations/{organizationId}/store-imports/deconetwork/storesread
List store importsGET /organizations/{organizationId}/store-importsread
Preview a DecoNetwork storePOST /organizations/{organizationId}/store-importswrite
A store importGET /organizations/{organizationId}/store-imports/{storeImportId}read
Delete a store import recordDELETE /organizations/{organizationId}/store-imports/{storeImportId}sensitive
Apply a store importPOST /organizations/{organizationId}/store-imports/{storeImportId}/applysensitive
Undo a store importPOST /organizations/{organizationId}/store-imports/{storeImportId}/undosensitive

The DecoNetwork connection

GET /organizations/{organizationId}/store-imports/deconetwork/connection

Whether a DecoNetwork login is saved (the site's address and the server's mode; the username and password are never answered). Read-only; call before listing DecoNetwork stores.

Permissionstores.read (Owner, Admin, Staff, Member)
Riskread, OAuth scope skuflow.read. Read: reads only.
MCP toolstoreImports_connection (toolset stores)

Example

curl "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/deconetwork/connection" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
connectedbooleanA login is saved and DecoNetwork accepted it.
statusenumError: DecoNetwork refused the saved login since; save it again. One of CONNECTED, DISCONNECTED, ERROR.
siteUrlstring or nullThe DecoNetwork site's address (where its API is).
modeenumfake: this server answers from synthetic fixtures (not production). One of fake, live, off.
connectedAtstring (date-time) or null
lastErrorstring or null

Connect DecoNetwork

PUT /organizations/{organizationId}/store-imports/deconetwork/connection

Saves the DecoNetwork site's address and a staff login (use a dedicated staff account; the site needs DecoNetwork's API apps, an Enterprise feature) after DecoNetwork accepted it with one order search. The password is stored encrypted and never answered or logged. 400 when DecoNetwork refuses the login or can't be reached. The login reads orders (the site's stores, production files, coupons) and blank costs; it changes nothing in DecoNetwork.

Permissionstores.manage (Owner, Admin, Staff)
Risksensitive, OAuth scope skuflow.sensitive. Sensitive: moves money, deletes, sends or shows something to a customer, or grants or revokes access.
MCP toolstoreImports_connect (toolset stores)
PlanOnline stores: the Grow plan and up.
ApprovalOver MCP, this tool asks for your OK first (in the AI app when it supports it, otherwise in SKUFlow). See Approvals.

Request body

FieldTypeRequiredDescription
siteUrlstringYesThe DecoNetwork site's address, e.g. https://www.example.com (https is assumed). Up to 300 characters.
usernamestringYesA DecoNetwork staff login. Up to 200 characters.
passwordstringYesIts password (stored encrypted, never returned). Up to 500 characters.

Example

curl -X PUT "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/deconetwork/connection" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"siteUrl":"https://example.com","username":"string","password":"string"}'

Response

200: the answer's fields
FieldTypeDescription
connectedbooleanA login is saved and DecoNetwork accepted it.
statusenumError: DecoNetwork refused the saved login since; save it again. One of CONNECTED, DISCONNECTED, ERROR.
siteUrlstring or nullThe DecoNetwork site's address (where its API is).
modeenumfake: this server answers from synthetic fixtures (not production). One of fake, live, off.
connectedAtstring (date-time) or null
lastErrorstring or null

Disconnect DecoNetwork

DELETE /organizations/{organizationId}/store-imports/deconetwork/connection

Destructive: forgets the saved DecoNetwork login. Stores and products already imported stay; storefronts can still be previewed (without production files or blank costs).

Permissionstores.manage (Owner, Admin, Staff)
Risksensitive, OAuth scope skuflow.sensitive. Sensitive: moves money, deletes, sends or shows something to a customer, or grants or revokes access.
MCP toolstoreImports_disconnect (toolset stores)
ApprovalOver MCP, this tool always waits for your approval in SKUFlow. See Approvals.

Example

curl -X DELETE "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/deconetwork/connection" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
connectedbooleanA login is saved and DecoNetwork accepted it.
statusenumError: DecoNetwork refused the saved login since; save it again. One of CONNECTED, DISCONNECTED, ERROR.
siteUrlstring or nullThe DecoNetwork site's address (where its API is).
modeenumfake: this server answers from synthetic fixtures (not production). One of fake, live, off.
connectedAtstring (date-time) or null
lastErrorstring or null

List the DecoNetwork site's stores

GET /organizations/{organizationId}/store-imports/deconetwork/stores

The stores of the connected DecoNetwork site with their addresses, as its orders of the last year name them (DecoNetwork has no API that lists stores; a store with no orders isn't listed: preview it by its address). Reads DecoNetwork; changes nothing. 409 without a connection (PUT /store-imports/deconetwork/connection).

Permissionstores.read (Owner, Admin, Staff, Member)
Riskread, OAuth scope skuflow.read. Read: reads only.
MCP toolstoreImports_sites (toolset stores)

Example

curl "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/deconetwork/stores" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
siteUrlstring
itemsarray of object
items[].idstringDecoNetwork's store id.
items[].namestring
items[].urlstringThe storefront's address: preview it with POST /store-imports.
items[].ordersintegerIts orders in the period read.

List store imports

GET /organizations/{organizationId}/store-imports

The business's store imports, newest first, with their status, summary, the store made and the result. Read-only.

Permissionstores.read (Owner, Admin, Staff, Member)
Riskread, OAuth scope skuflow.read. Read: reads only.
MCP toolstoreImports_list (toolset stores)

Parameters

NameInTypeRequiredDescription
limitqueryintegerNo1–100.

Example

curl "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
itemsarray of object
items[].idstring
items[].sourcestringDECONETWORK.
items[].sourceUrlstring
items[].sourceNamestring
items[].statusenumPREVIEWED (nothing made yet), QUEUED / RUNNING (applying), APPLIED, FAILED (error; apply again), UNDONE. One of PREVIEWED, QUEUED, RUNNING, APPLIED, FAILED, UNDONE.
items[].customerIdstring or null
items[].customerobject or null
items[].customer.idstring
items[].customer.namestring
items[].newCustomerNamestring or nullMade when applying, when no customer was picked.
items[].storeIdstring or null
items[].storeobject or nullThe SKUFlow store made (a DRAFT until the owner opens it).
items[].store.idstring
items[].store.namestring
items[].store.statusstring
items[].store.urlstring
items[].optionsobject
items[].options.storeNamestring or null
items[].options.allowanceCentsinteger or nullInteger cents.
items[].options.payOverAllowanceByCardboolean
items[].resultobject or null
items[].result.customerIdstring or null
items[].result.storeIdstring or null
items[].result.countsobject
items[].result.productsarray of object
items[].result.warningsarray of string
items[].result.todoarray of stringWhat the owner still has to do before opening the store.
items[].progressobject or null
items[].progress.doneinteger
items[].progress.totalinteger
items[].progress.phasestring
items[].errorstring or null
items[].createdAtstring (date-time)
items[].queuedAtstring (date-time) or null
items[].appliedAtstring (date-time) or null
items[].undoneAtstring (date-time) or null
items[].summaryobject
items[].summary.productsinteger
items[].summary.categoriesinteger
items[].summary.existinginteger
items[].summary.fromSupplierinteger
items[].summary.toCreateinteger
items[].summary.productionFilesinteger
items[].summary.placeholdersinteger
items[].summary.withProblemsinteger

Preview a DecoNetwork store

POST /organizations/{organizationId}/store-imports

Reads a DecoNetwork storefront (its public pages; with a saved login also blank costs, production files and coupons from DecoNetwork's API) and matches it, writing nothing but this import record: every product with its blank's match (EXISTING catalog product, SUPPLIER style to import, or CREATE), its decorations, where its artwork comes from (PRODUCTION_FILE or PLACEHOLDER), DecoNetwork's price per size and problems. Give the customer the store is for (customerId, GET /customers) or leave it out to make one named newCustomerName (default the store's name) when applying. Then POST /store-imports/{storeImportId}/apply.

Permissionstores.manage (Owner, Admin, Staff)
Riskwrite, OAuth scope skuflow.write. Write: creates or changes records inside the business; nothing leaves it.
MCP toolstoreImports_preview (toolset stores)
PlanOnline stores: the Grow plan and up.

Request body

FieldTypeRequiredDescription
storeUrlstringYesThe DecoNetwork storefront's address, e.g. https://store.example.com (GET /store-imports/deconetwork/stores). Up to 300 characters.
customerIdstring or nullNoThe customer the store is for (GET /customers).
newCustomerNamestring or nullNoWithout customerId: the customer made when applying. Up to 200 characters.
storeNamestring or nullNoThe SKUFlow store's name (default DecoNetwork's). Up to 200 characters.
allowanceCentsinteger or nullNoEach person's allowance in the new store (cents); left out, the owner sets it before opening. 0–100000000.
payOverAllowanceByCardbooleanNoAnything over the allowance is paid by card (default true: DecoNetwork's coupon plus card).

Example

curl -X POST "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"storeUrl":"https://example.com"}'

Response

201: the answer's fields
FieldTypeDescription
idstring
sourcestringDECONETWORK.
sourceUrlstring
sourceNamestring
statusenumPREVIEWED (nothing made yet), QUEUED / RUNNING (applying), APPLIED, FAILED (error; apply again), UNDONE. One of PREVIEWED, QUEUED, RUNNING, APPLIED, FAILED, UNDONE.
customerIdstring or null
customerobject or null
customer.idstring
customer.namestring
newCustomerNamestring or nullMade when applying, when no customer was picked.
storeIdstring or null
storeobject or nullThe SKUFlow store made (a DRAFT until the owner opens it).
store.idstring
store.namestring
store.statusstring
store.urlstring
optionsobject
options.storeNamestring or null
options.allowanceCentsinteger or nullInteger cents.
options.payOverAllowanceByCardboolean
resultobject or null
result.customerIdstring or null
result.storeIdstring or null
result.countsobject
result.counts.productsMatchedinteger
result.counts.productsFromSupplierinteger
result.counts.productsCreatedinteger
result.counts.artworkFromFilesinteger
result.counts.artworkPlaceholdersinteger
result.counts.designsinteger
result.counts.customerProductsCreatedinteger
result.counts.customerProductsRepricedinteger
result.counts.storeProductsinteger
result.counts.mockupsinteger
result.productsarray of object
result.products[].sourceIdstring
result.products[].namestring
result.products[].productIdstring or null
result.products[].designIdstring or null
result.products[].customerProductIdstring or null
result.products[].storeProductIdstring or null
result.products[].errorstring or null
result.warningsarray of string
result.todoarray of stringWhat the owner still has to do before opening the store.
progressobject or null
progress.doneinteger
progress.totalinteger
progress.phasestring
errorstring or null
createdAtstring (date-time)
queuedAtstring (date-time) or null
appliedAtstring (date-time) or null
undoneAtstring (date-time) or null
previewobject
preview.storeobject
preview.store.namestring
preview.store.urlstring
preview.store.logoUrlstring or null
preview.store.categoriesarray of string
preview.rowsarray of object
preview.rows[].sourceIdstringDecoNetwork's decorated product id.
preview.rows[].namestring
preview.rows[].urlstringThe product's page on the storefront.
preview.rows[].categoryNamestring or null
preview.rows[].imagestring or nullDecoNetwork's mockup (an address on the storefront).
preview.rows[].priceCentsinteger or nullDecoNetwork's price for the base size.
preview.rows[].sizePricesarray of object
preview.rows[].colorsarray of string
preview.rows[].sizesarray of string
preview.rows[].blankobject
preview.rows[].matchobject
preview.rows[].decorationsarray of object
preview.rows[].artworkarray of object
preview.rows[].problemsarray of string
preview.summaryobject
preview.summary.productsinteger
preview.summary.categoriesinteger
preview.summary.existinginteger
preview.summary.fromSupplierinteger
preview.summary.toCreateinteger
preview.summary.productionFilesinteger
preview.summary.placeholdersinteger
preview.summary.withProblemsinteger
preview.discountsobject or nullCoupons and gift certificates shoppers used in DecoNetwork's recent orders (with a login).
preview.discounts.ordersReadinteger
preview.discounts.couponsarray of object
preview.discounts.giftCertificateOrdersinteger
preview.discounts.creditOrdersinteger
preview.notesarray of string
preview.usedLoginbooleanThe DecoNetwork login was used (production files, blank costs, coupons).

A store import

GET /organizations/{organizationId}/store-imports/{storeImportId}

One store import: the preview (every product with its match, decorations, artwork source, prices per size and problems), progress while applying, and the result (what was made, warnings, what the owner still has to do). Poll it after POST …/apply. Read-only.

Permissionstores.read (Owner, Admin, Staff, Member)
Riskread, OAuth scope skuflow.read. Read: reads only.
MCP toolstoreImports_get (toolset stores)

Parameters

NameInTypeRequiredDescription
storeImportIdpathstringYesThe store import (GET /store-imports).

Example

curl "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/{storeImportId}" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
idstring
sourcestringDECONETWORK.
sourceUrlstring
sourceNamestring
statusenumPREVIEWED (nothing made yet), QUEUED / RUNNING (applying), APPLIED, FAILED (error; apply again), UNDONE. One of PREVIEWED, QUEUED, RUNNING, APPLIED, FAILED, UNDONE.
customerIdstring or null
customerobject or null
customer.idstring
customer.namestring
newCustomerNamestring or nullMade when applying, when no customer was picked.
storeIdstring or null
storeobject or nullThe SKUFlow store made (a DRAFT until the owner opens it).
store.idstring
store.namestring
store.statusstring
store.urlstring
optionsobject
options.storeNamestring or null
options.allowanceCentsinteger or nullInteger cents.
options.payOverAllowanceByCardboolean
resultobject or null
result.customerIdstring or null
result.storeIdstring or null
result.countsobject
result.counts.productsMatchedinteger
result.counts.productsFromSupplierinteger
result.counts.productsCreatedinteger
result.counts.artworkFromFilesinteger
result.counts.artworkPlaceholdersinteger
result.counts.designsinteger
result.counts.customerProductsCreatedinteger
result.counts.customerProductsRepricedinteger
result.counts.storeProductsinteger
result.counts.mockupsinteger
result.productsarray of object
result.products[].sourceIdstring
result.products[].namestring
result.products[].productIdstring or null
result.products[].designIdstring or null
result.products[].customerProductIdstring or null
result.products[].storeProductIdstring or null
result.products[].errorstring or null
result.warningsarray of string
result.todoarray of stringWhat the owner still has to do before opening the store.
progressobject or null
progress.doneinteger
progress.totalinteger
progress.phasestring
errorstring or null
createdAtstring (date-time)
queuedAtstring (date-time) or null
appliedAtstring (date-time) or null
undoneAtstring (date-time) or null
previewobject
preview.storeobject
preview.store.namestring
preview.store.urlstring
preview.store.logoUrlstring or null
preview.store.categoriesarray of string
preview.rowsarray of object
preview.rows[].sourceIdstringDecoNetwork's decorated product id.
preview.rows[].namestring
preview.rows[].urlstringThe product's page on the storefront.
preview.rows[].categoryNamestring or null
preview.rows[].imagestring or nullDecoNetwork's mockup (an address on the storefront).
preview.rows[].priceCentsinteger or nullDecoNetwork's price for the base size.
preview.rows[].sizePricesarray of object
preview.rows[].colorsarray of string
preview.rows[].sizesarray of string
preview.rows[].blankobject
preview.rows[].matchobject
preview.rows[].decorationsarray of object
preview.rows[].artworkarray of object
preview.rows[].problemsarray of string
preview.summaryobject
preview.summary.productsinteger
preview.summary.categoriesinteger
preview.summary.existinginteger
preview.summary.fromSupplierinteger
preview.summary.toCreateinteger
preview.summary.productionFilesinteger
preview.summary.placeholdersinteger
preview.summary.withProblemsinteger
preview.discountsobject or nullCoupons and gift certificates shoppers used in DecoNetwork's recent orders (with a login).
preview.discounts.ordersReadinteger
preview.discounts.couponsarray of object
preview.discounts.giftCertificateOrdersinteger
preview.discounts.creditOrdersinteger
preview.notesarray of string
preview.usedLoginbooleanThe DecoNetwork login was used (production files, blank costs, coupons).

Delete a store import record

DELETE /organizations/{organizationId}/store-imports/{storeImportId}

Destructive: deletes the import's record (its preview and result). What it made stays: undo first to remove that. 409 while it runs.

Permissionstores.manage (Owner, Admin, Staff)
Risksensitive, OAuth scope skuflow.sensitive. Sensitive: moves money, deletes, sends or shows something to a customer, or grants or revokes access.
MCP toolstoreImports_delete (toolset stores)
ApprovalOver MCP, this tool always waits for your approval in SKUFlow. See Approvals.

Parameters

NameInTypeRequiredDescription
storeImportIdpathstringYesThe store import (GET /store-imports).

Example

curl -X DELETE "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/{storeImportId}" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
deletedtrue

Apply a store import

POST /organizations/{organizationId}/store-imports/{storeImportId}/apply

Customer-visible prices: starts making what the preview showed, in the background (poll GET /store-imports/{storeImportId}): the customer (when new), a DRAFT store (never opened: the owner opens it) with DecoNetwork's categories and logo, each product's catalog product (matched, imported from the supplier, or made), the customer's artwork (production files downloaded, else the store picture as a placeholder), a design per product, the customer's products with DecoNetwork's price as their FIXED store price (size upcharges where sizes cost more) and the store items following them. Applying again updates in place and sets those customer products' store prices to DecoNetwork's again, which moves every store following them. 409 while another import runs or after undo.

Permissionstores.manage (Owner, Admin, Staff)
Risksensitive, OAuth scope skuflow.sensitive. Sensitive: moves money, deletes, sends or shows something to a customer, or grants or revokes access.
MCP toolstoreImports_apply (toolset stores)
PlanOnline stores: the Grow plan and up.
ApprovalOver MCP, this tool asks for your OK first (in the AI app when it supports it, otherwise in SKUFlow). See Approvals.

Parameters

NameInTypeRequiredDescription
storeImportIdpathstringYesThe store import (GET /store-imports).

Example

curl -X POST "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/{storeImportId}/apply" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
idstring
sourcestringDECONETWORK.
sourceUrlstring
sourceNamestring
statusenumPREVIEWED (nothing made yet), QUEUED / RUNNING (applying), APPLIED, FAILED (error; apply again), UNDONE. One of PREVIEWED, QUEUED, RUNNING, APPLIED, FAILED, UNDONE.
customerIdstring or null
customerobject or null
customer.idstring
customer.namestring
newCustomerNamestring or nullMade when applying, when no customer was picked.
storeIdstring or null
storeobject or nullThe SKUFlow store made (a DRAFT until the owner opens it).
store.idstring
store.namestring
store.statusstring
store.urlstring
optionsobject
options.storeNamestring or null
options.allowanceCentsinteger or nullInteger cents.
options.payOverAllowanceByCardboolean
resultobject or null
result.customerIdstring or null
result.storeIdstring or null
result.countsobject
result.counts.productsMatchedinteger
result.counts.productsFromSupplierinteger
result.counts.productsCreatedinteger
result.counts.artworkFromFilesinteger
result.counts.artworkPlaceholdersinteger
result.counts.designsinteger
result.counts.customerProductsCreatedinteger
result.counts.customerProductsRepricedinteger
result.counts.storeProductsinteger
result.counts.mockupsinteger
result.productsarray of object
result.products[].sourceIdstring
result.products[].namestring
result.products[].productIdstring or null
result.products[].designIdstring or null
result.products[].customerProductIdstring or null
result.products[].storeProductIdstring or null
result.products[].errorstring or null
result.warningsarray of string
result.todoarray of stringWhat the owner still has to do before opening the store.
progressobject or null
progress.doneinteger
progress.totalinteger
progress.phasestring
errorstring or null
createdAtstring (date-time)
queuedAtstring (date-time) or null
appliedAtstring (date-time) or null
undoneAtstring (date-time) or null
previewobject
preview.storeobject
preview.store.namestring
preview.store.urlstring
preview.store.logoUrlstring or null
preview.store.categoriesarray of string
preview.rowsarray of object
preview.rows[].sourceIdstringDecoNetwork's decorated product id.
preview.rows[].namestring
preview.rows[].urlstringThe product's page on the storefront.
preview.rows[].categoryNamestring or null
preview.rows[].imagestring or nullDecoNetwork's mockup (an address on the storefront).
preview.rows[].priceCentsinteger or nullDecoNetwork's price for the base size.
preview.rows[].sizePricesarray of object
preview.rows[].colorsarray of string
preview.rows[].sizesarray of string
preview.rows[].blankobject
preview.rows[].matchobject
preview.rows[].decorationsarray of object
preview.rows[].artworkarray of object
preview.rows[].problemsarray of string
preview.summaryobject
preview.summary.productsinteger
preview.summary.categoriesinteger
preview.summary.existinginteger
preview.summary.fromSupplierinteger
preview.summary.toCreateinteger
preview.summary.productionFilesinteger
preview.summary.placeholdersinteger
preview.summary.withProblemsinteger
preview.discountsobject or nullCoupons and gift certificates shoppers used in DecoNetwork's recent orders (with a login).
preview.discounts.ordersReadinteger
preview.discounts.couponsarray of object
preview.discounts.giftCertificateOrdersinteger
preview.discounts.creditOrdersinteger
preview.notesarray of string
preview.usedLoginbooleanThe DecoNetwork login was used (production files, blank costs, coupons).

Undo a store import

POST /organizations/{organizationId}/store-imports/{storeImportId}/undo

Destructive: deletes the store it made (409 once that store took orders: close it instead) and what imports of that DecoNetwork store made for this customer that nothing else uses (customer products, designs, artwork, catalog products); what is used elsewhere is kept and listed in result.undo. Matched catalog products and the customer stay.

Permissionstores.manage (Owner, Admin, Staff)
Risksensitive, OAuth scope skuflow.sensitive. Sensitive: moves money, deletes, sends or shows something to a customer, or grants or revokes access.
MCP toolstoreImports_undo (toolset stores)
ApprovalOver MCP, this tool asks for your OK first (in the AI app when it supports it, otherwise in SKUFlow). See Approvals.

Parameters

NameInTypeRequiredDescription
storeImportIdpathstringYesThe store import (GET /store-imports).

Example

curl -X POST "https://app.skuflow.ai/api/organizations/$ORGANIZATION_ID/store-imports/{storeImportId}/undo" \
  -H "Authorization: Bearer $SKUFLOW_API_KEY"

Response

200: the answer's fields
FieldTypeDescription
idstring
sourcestringDECONETWORK.
sourceUrlstring
sourceNamestring
statusenumPREVIEWED (nothing made yet), QUEUED / RUNNING (applying), APPLIED, FAILED (error; apply again), UNDONE. One of PREVIEWED, QUEUED, RUNNING, APPLIED, FAILED, UNDONE.
customerIdstring or null
customerobject or null
customer.idstring
customer.namestring
newCustomerNamestring or nullMade when applying, when no customer was picked.
storeIdstring or null
storeobject or nullThe SKUFlow store made (a DRAFT until the owner opens it).
store.idstring
store.namestring
store.statusstring
store.urlstring
optionsobject
options.storeNamestring or null
options.allowanceCentsinteger or nullInteger cents.
options.payOverAllowanceByCardboolean
resultobject or null
result.customerIdstring or null
result.storeIdstring or null
result.countsobject
result.counts.productsMatchedinteger
result.counts.productsFromSupplierinteger
result.counts.productsCreatedinteger
result.counts.artworkFromFilesinteger
result.counts.artworkPlaceholdersinteger
result.counts.designsinteger
result.counts.customerProductsCreatedinteger
result.counts.customerProductsRepricedinteger
result.counts.storeProductsinteger
result.counts.mockupsinteger
result.productsarray of object
result.products[].sourceIdstring
result.products[].namestring
result.products[].productIdstring or null
result.products[].designIdstring or null
result.products[].customerProductIdstring or null
result.products[].storeProductIdstring or null
result.products[].errorstring or null
result.warningsarray of string
result.todoarray of stringWhat the owner still has to do before opening the store.
progressobject or null
progress.doneinteger
progress.totalinteger
progress.phasestring
errorstring or null
createdAtstring (date-time)
queuedAtstring (date-time) or null
appliedAtstring (date-time) or null
undoneAtstring (date-time) or null
previewobject
preview.storeobject
preview.store.namestring
preview.store.urlstring
preview.store.logoUrlstring or null
preview.store.categoriesarray of string
preview.rowsarray of object
preview.rows[].sourceIdstringDecoNetwork's decorated product id.
preview.rows[].namestring
preview.rows[].urlstringThe product's page on the storefront.
preview.rows[].categoryNamestring or null
preview.rows[].imagestring or nullDecoNetwork's mockup (an address on the storefront).
preview.rows[].priceCentsinteger or nullDecoNetwork's price for the base size.
preview.rows[].sizePricesarray of object
preview.rows[].colorsarray of string
preview.rows[].sizesarray of string
preview.rows[].blankobject
preview.rows[].matchobject
preview.rows[].decorationsarray of object
preview.rows[].artworkarray of object
preview.rows[].problemsarray of string
preview.summaryobject
preview.summary.productsinteger
preview.summary.categoriesinteger
preview.summary.existinginteger
preview.summary.fromSupplierinteger
preview.summary.toCreateinteger
preview.summary.productionFilesinteger
preview.summary.placeholdersinteger
preview.summary.withProblemsinteger
preview.discountsobject or nullCoupons and gift certificates shoppers used in DecoNetwork's recent orders (with a login).
preview.discounts.ordersReadinteger
preview.discounts.couponsarray of object
preview.discounts.giftCertificateOrdersinteger
preview.discounts.creditOrdersinteger
preview.notesarray of string
preview.usedLoginbooleanThe DecoNetwork login was used (production files, blank costs, coupons).

On this page