{"info":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39229765","collectionId":"ff9b5483-6175-4820-8b01-decb508889f7","publishedId":"2sAY4rG5YR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-24T09:24:17.000Z"},"item":[{"name":"Authenticate","item":[{"name":"Authenticate","id":"a8aedd11-2caf-4119-8663-c24354e0f379","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"*/*"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"AccessKey\": \"DG56HY**********E475RGH6HYR\",\r\n    \"SecretKey\": \"Usdh358yfeh************3593uE\",\r\n    \"StoreId\": \"ydizsnqpq3\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/Login","description":"<h3 id=\"login-api\">Login API</h3>\n<p>This API endpoint is used to authenticate and login a user with the provided access and secret keys.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: POST</p>\n</li>\n<li><p>Endpoint: <code>https://api.stagingpro.com/v1/api/Login</code></p>\n</li>\n<li><p>Headers: No specific headers required</p>\n</li>\n<li><p>{ \"AccessKey\": \"DG56HY*<em>E475RGH6HYR\", \"SecretKey\": \"Usdh358yfeh</em>***3593uE\", \"StoreId\": \"ydizsnqpq3\"}</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful login, the API returns the following response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">  {\n    \"Status\": \"\",\n    \"StatusComment\": \"\",\n    \"CustomerId\": 0,\n    \"UserToken\": \"\"\n  }\n\n</code></pre>\n<ul>\n<li><p><code>Status</code>: The status of the login request.</p>\n</li>\n<li><p><code>StatusComment</code>: Additional comment or message related to the status.</p>\n</li>\n<li><p><code>CustomerId</code>: The unique identifier of the customer after successful login.</p>\n</li>\n<li><p><code>UserToken</code>: Token generated for the authenticated user.</p>\n</li>\n</ul>\n<p>This API endpoint allows users to authenticate and obtain a user token for accessing the system.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>AccessKey (text, required): The access key for authentication.</p>\n</li>\n<li><p>SecretKey (text, required): The secret key for authentication.</p>\n</li>\n<li><p>StoreId (text, required): The ID of the store.</p>\n</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response is in JSON format and includes the following fields:</p>\n<ul>\n<li><p>Status (string): The status of the login request.</p>\n</li>\n<li><p>StatusComment (string): Additional comments related to the status.</p>\n</li>\n<li><p>CustomerId (integer): The ID of the customer.</p>\n</li>\n<li><p>UserToken (string): The token for the authenticated user.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"Status\": { \"type\": \"string\" },\n    \"StatusComment\": { \"type\": \"string\" },\n    \"CustomerId\": { \"type\": \"integer\" },\n    \"UserToken\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","Login"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"f616c3e4-49bc-4046-903f-5ca51c4e1cd4","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"*/*"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"AccessKey\": \"WN*************4X\",\r\n  \"SecretKey\": \"vS3y3***********************dtCeF\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/Login"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\",\r\n  \"CustomerId\": 1,\r\n  \"UserToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IlN0YWdpbmdQcm8iLCJQcm9kdWN0aW9uU3Rvc***********mNvbSJ9._ATneo********Kri3hg\"\r\n}"}],"_postman_id":"a8aedd11-2caf-4119-8663-c24354e0f379"}],"id":"d8b95106-cf8e-4fc8-ab84-215e49aa0cde","description":"<p><strong>Authenticate (POST)</strong>:<br />This API authenticates the user by submitting an access key, secret key, and store ID. On success, it returns a token that is required for other authenticated requests.</p>\n","_postman_id":"d8b95106-cf8e-4fc8-ab84-215e49aa0cde","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Bulk Content Migration","item":[{"name":"Get Store Data Summary","id":"cdccda0c-34b5-4b06-a321-72568e71babb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetStoreDataSummary?storeId=hd2j3gh4ye","description":"<h3 id=\"get-store-data-summary\">Get Store Data Summary</h3>\n<p>This endpoint retrieves a summary of various data related to the store identified by the provided storeId.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetStoreDataSummary</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><code>storeId</code> (string, required): The unique identifier of the store.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"ContentData\": {\n    \"Pages\": 0,\n    \"Widgets\": 0,\n    \"StoreCoupons\": 0,\n    \"Banners\": 0,\n    \"AbandonedCartEmailTemplates\": 0,\n    \"EmailTemplates\": 0,\n    \"BlogPosts\": 0,\n    \"ActiveTheme\": 0\n  },\n  \"ProductData\": {\n    \"Brands\": 0,\n    \"Categories\": 0,\n    \"Products\": 0,\n    \"ProductReviews\": 0,\n    \"PriceLists\": 0,\n    \"PriceListAssignments\": 0,\n    \"PriceListRecords\": 0,\n    \"Promotions\": 0\n  },\n  \"CustomerData\": {\n    \"CustomerGroups\": 0,\n    \"Customers\": 0,\n    \"CustomerAttributes\": 0\n  },\n  \"OrderData\": {\n    \"OrdersByStatus\": [\n      {\n        \"Status\": \"\",\n        \"OrderCount\": 0\n      }\n    ],\n    \"Orders\": 0,\n    \"GlobalOrderSettings\": 0,\n    \"GiftCertificates\": 0\n  },\n  \"StoreSettings\": {\n    \"EmailStatuses\": 0,\n    \"SearchFiltersEnabled\": 0,\n    \"SearchContextualFilters\": 0,\n    \"StoreLocale\": 0,\n    \"StoreFrontRobots\": 0,\n    \"StoreFrontSearch\": 0,\n    \"StoreFrontSeo\": 0,\n    \"StoreFrontStatus\": 0,\n    \"WebAnalyticsProviders\": 0,\n    \"CatalogSettings\": 0,\n    \"InventoryNotifications\": 0,\n    \"StoreLogoSettings\": 0,\n    \"StoreProfile\": 0,\n    \"StorefrontCategorySettings\": 0,\n    \"StorefrontProductSettings\": 0,\n    \"StorefrontSecuritySettings\": 0,\n    \"ShippingZones\": 0,\n    \"ShippingMethods\": 0\n  },\n  \"MultiStoreData\": {\n    \"Channels\": [\"\"],\n    \"ChannelsOrderSettings\": 0,\n    \"ChannelsCustomerSettings\": 0\n  },\n  \"B2BData\": {\n    \"Companies\": 0,\n    \"Addresses\": 0,\n    \"Users\": 0,\n    \"Orders\": 0,\n    \"SuperAdmins\": 0,\n    \"Quotes\": 0,\n    \"ShoppingList\": 0,\n    \"Invoices\": 0\n  }\n}\n\n</code></pre>\n<p>The response provides detailed information about the content, products, customers, orders, store settings, multi-store data, and B2B data associated with the specified store.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetStoreDataSummary"],"host":["api","stagingpro","com"],"query":[{"key":"storeId","value":"hd2j3gh4ye"}],"variable":[]}},"response":[{"id":"d3f13111-deae-47c5-8797-eae3d4388b27","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetStoreDataSummary?storeId=hd2j3gh4ye","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetStoreDataSummary"],"query":[{"key":"storeId","value":"hd2j3gh4ye"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"ContentData\": {\r\n    \"Pages\": 47,\r\n    \"Widgets\": 2,\r\n    \"StoreCoupons\": 11,\r\n    \"Banners\": 11,\r\n    \"AbandonedCartEmailTemplates\": 5,\r\n    \"EmailTemplates\": 13,\r\n    \"BlogPosts\": 6,\r\n    \"ActiveTheme\": 1\r\n  },\r\n  \"ProductData\": {\r\n    \"Brands\": 97,\r\n    \"Categories\": 237,\r\n    \"Products\": 1938,\r\n    \"ProductReviews\": -1,\r\n    \"PriceLists\": 5,\r\n    \"PriceListAssignments\": 7,\r\n    \"PriceListRecords\": -1,\r\n    \"Promotions\": 5\r\n  },\r\n  \"CustomerData\": {\r\n    \"CustomerGroups\": 9,\r\n    \"Customers\": 115,\r\n    \"CustomerAttributes\": 2\r\n  },\r\n  \"OrderData\": {\r\n    \"OrdersByStatus\": [\r\n      {\r\n        \"Status\": \"Incomplete\",\r\n        \"OrderCount\": 7\r\n      },\r\n      {\r\n        \"Status\": \"Pending\",\r\n        \"OrderCount\": 51\r\n      },\r\n      {\r\n        \"Status\": \"Awaiting Payment\",\r\n        \"OrderCount\": 20\r\n      },\r\n      {\r\n        \"Status\": \"Awaiting Fulfillment\",\r\n        \"OrderCount\": 287\r\n      },\r\n      {\r\n        \"Status\": \"Awaiting Pickup\",\r\n        \"OrderCount\": 1\r\n      },\r\n      {\r\n        \"Status\": \"Partially Shipped\",\r\n        \"OrderCount\": 1\r\n      },\r\n      {\r\n        \"Status\": \"Completed\",\r\n        \"OrderCount\": 15\r\n      },\r\n      {\r\n        \"Status\": \"Shipped\",\r\n        \"OrderCount\": 27\r\n      },\r\n      {\r\n        \"Status\": \"Cancelled\",\r\n        \"OrderCount\": 3\r\n      },\r\n      {\r\n        \"Status\": \"Refunded\",\r\n        \"OrderCount\": 31\r\n      },\r\n      {\r\n        \"Status\": \"Manual Verification Required\",\r\n        \"OrderCount\": 1\r\n      }\r\n    ],\r\n    \"Orders\": 444,\r\n    \"GlobalOrderSettings\": 2,\r\n    \"GiftCertificates\": 5\r\n  },\r\n  \"StoreSettings\": {\r\n    \"EmailStatuses\": 12,\r\n    \"SearchFiltersEnabled\": 25,\r\n    \"SearchContextualFilters\": 3,\r\n    \"StoreLocale\": 3,\r\n    \"StoreFrontRobots\": 1,\r\n    \"StoreFrontSearch\": 4,\r\n    \"StoreFrontSeo\": 4,\r\n    \"StoreFrontStatus\": 3,\r\n    \"WebAnalyticsProviders\": 6,\r\n    \"CatalogSettings\": 2,\r\n    \"InventoryNotifications\": 2,\r\n    \"StoreLogoSettings\": 4,\r\n    \"StoreProfile\": 1,\r\n    \"StorefrontCategorySettings\": 3,\r\n    \"StorefrontProductSettings\": 11,\r\n    \"StorefrontSecuritySettings\": 4,\r\n    \"ShippingZones\": 5,\r\n    \"ShippingMethods\": -1\r\n  },\r\n  \"MultiStoreData\": {\r\n    \"Channels\": [\r\n      \"Monic Fashions (bigcommerce)\",\r\n      \"Google United Kingdom by CODISTO-9192 (google_shopping)\",\r\n      \"Amazon.co.uk - Moinc- by CODISTO-8613 (amazon)\",\r\n      \"Monic Store 2 (bigcommerce)\"\r\n    ],\r\n    \"ChannelsOrderSettings\": 2,\r\n    \"ChannelsCustomerSettings\": 6\r\n  },\r\n  \"B2BData\": {\r\n    \"Companies\": 5,\r\n    \"Addresses\": 7,\r\n    \"Users\": 13,\r\n    \"Orders\": 11,\r\n    \"SuperAdmins\": 3,\r\n    \"Quotes\": 2,\r\n    \"ShoppingList\": -1,\r\n    \"Invoices\": 0\r\n  }\r\n}"}],"_postman_id":"cdccda0c-34b5-4b06-a321-72568e71babb"},{"name":"Get Data Migration Status","id":"16d4a86e-5c11-4069-8c7b-72a6846a9ef0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataProgressStatus?destinationStoreId=fr4k54h1ye&migrationId=B1A4F5FB-9D24-4051-973A-D08927E346D1","description":"<h3 id=\"getmigratestoredataprogressstatus\">GetMigrateStoreDataProgressStatus</h3>\n<p>This endpoint retrieves the progress status of a data migration process for a specific destination store.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataProgressStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p>destinationStoreId (string, required) - The ID of the destination store</p>\n</li>\n<li><p>migrationId (string, required) - The ID of the migration</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": {\n      \"type\": \"string\"\n    },\n    \"SourceStoreId\": {\n      \"type\": \"string\"\n    },\n    \"DestinationStoreId\": {\n      \"type\": \"string\"\n    },\n    \"Status\": {\n      \"type\": \"string\"\n    },\n    \"PercentCompleted\": {\n      \"type\": \"integer\"\n    },\n    \"Comment\": {\n      \"type\": \"string\"\n    },\n    \"ModifiedDate\": {\n      \"type\": \"string\"\n    },\n    \"IsScheduledRequest\": {\n      \"type\": \"boolean\"\n    },\n    \"ScheduleDateTime\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetMigrateStoreDataProgressStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"}],"variable":[]}},"response":[{"id":"eba16fb1-8a9b-4a3e-a640-cbe477982c45","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataProgressStatus?destinationStoreId=fr4k54h1ye&migrationId=B1A4F5FB-9D24-4051-973A-D08927E346D1","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetMigrateStoreDataProgressStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"b1a4f5fb-9d24-4051-973a-d08927e346e2\",\r\n  \"SourceStoreId\": \"hd2j3gh4ye\",\r\n  \"DestinationStoreId\": \"fr4k54h1ye\",\r\n  \"Status\": \"Completed\",\r\n  \"PercentCompleted\": 100,\r\n  \"Comment\": \"Publish Completed\",\r\n  \"ModifiedDate\": \"2022-04-22T10:52:33.353\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-09T19:00:00\"\r\n}"}],"_postman_id":"16d4a86e-5c11-4069-8c7b-72a6846a9ef0"},{"name":"Get Data Migration Entity Status","id":"46ddade5-1909-4ed8-8daa-f1c573a9ffee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataEntitiesStatus?destinationStoreId=fr4k54h1ye&migrationId=7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D","description":"<h3 id=\"get-data-migration-entity-status\">Get Data Migration Entity Status</h3>\n<p>This endpoint retrieves the status of data entity migration for a specific destination store.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>Endpoint: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataEntitiesStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p>destinationStoreId (string, required): The ID of the destination store for which the migration status is requested.</p>\n</li>\n<li><p>migrationId (string, required): The ID of the migration process.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is an array of objects with the following properties:</p>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string): The ID of the source store.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n<li><p><code>EntityName</code> (string): The name of the data entity.</p>\n</li>\n<li><p><code>SourceCount</code> (integer): The count of entities in the source store.</p>\n</li>\n<li><p><code>DestinationCount</code> (integer): The count of entities in the destination store.</p>\n</li>\n<li><p><code>Status</code> (string): The status of the migration.</p>\n</li>\n<li><p><code>ModifiedDate</code> (string): The date of the last modification.</p>\n</li>\n<li><p><code>Error</code> (object): Details of any error encountered during migration, if applicable.</p>\n</li>\n</ul>\n<h4 id=\"response-example\">Response Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"MigrationId\": \"\",\n    \"SourceStoreId\": \"\",\n    \"DestinationStoreId\": \"\",\n    \"EntityName\": \"\",\n    \"SourceCount\": 0,\n    \"DestinationCount\": 0,\n    \"Status\": \"\",\n    \"ModifiedDate\": \"\",\n    \"Error\": null\n  }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetMigrateStoreDataEntitiesStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D"}],"variable":[]}},"response":[{"id":"943261cb-cd59-4afa-96f5-8170fa48a2e3","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrateStoreDataEntitiesStatus?destinationStoreId=fr4k54h1ye&migrationId=7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetMigrateStoreDataEntitiesStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"Brands\",\r\n    \"SourceCount\": 55,\r\n    \"DestinationCount\": 55,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:11:53.237\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"Categories\",\r\n    \"SourceCount\": 122,\r\n    \"DestinationCount\": 122,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:12:30.207\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"Products\",\r\n    \"SourceCount\": 537,\r\n    \"DestinationCount\": 537,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:36.643\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CustomerGroups\",\r\n    \"SourceCount\": 6,\r\n    \"DestinationCount\": 6,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:38.083\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"Customers\",\r\n    \"SourceCount\": 112,\r\n    \"DestinationCount\": 100,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:04.023\",\r\n    \"Error\": \"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors?MigrationId=7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e&EntityName=Customers\"\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"PriceLists\",\r\n    \"SourceCount\": 2,\r\n    \"DestinationCount\": 1,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:04.35\",\r\n    \"Error\": \"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors?MigrationId=7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e&EntityName=PriceLists\"\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"PriceListAssignments\",\r\n    \"SourceCount\": 2,\r\n    \"DestinationCount\": 1,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:04.693\",\r\n    \"Error\": \"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors?MigrationId=7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e&EntityName=PriceListAssignments\"\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"EmailStatuses\",\r\n    \"SourceCount\": 12,\r\n    \"DestinationCount\": 12,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.847\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"SearchContextualFilters\",\r\n    \"SourceCount\": 3,\r\n    \"DestinationCount\": 3,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.85\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"SearchFiltersEnabled\",\r\n    \"SourceCount\": 31,\r\n    \"DestinationCount\": 31,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.85\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreLocale\",\r\n    \"SourceCount\": 3,\r\n    \"DestinationCount\": 3,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.85\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreFrontRobots\",\r\n    \"SourceCount\": 1,\r\n    \"DestinationCount\": 1,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.853\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreFrontSearch\",\r\n    \"SourceCount\": 4,\r\n    \"DestinationCount\": 4,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.853\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreFrontSeo\",\r\n    \"SourceCount\": 4,\r\n    \"DestinationCount\": 4,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.853\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreFrontStatus\",\r\n    \"SourceCount\": 3,\r\n    \"DestinationCount\": 3,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.857\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CatalogSettings\",\r\n    \"SourceCount\": 2,\r\n    \"DestinationCount\": 2,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.86\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"InventoryNotifications\",\r\n    \"SourceCount\": 2,\r\n    \"DestinationCount\": 2,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.86\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"WebAnalyticsProviders\",\r\n    \"SourceCount\": 6,\r\n    \"DestinationCount\": 6,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.86\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreLogoSettings\",\r\n    \"SourceCount\": 4,\r\n    \"DestinationCount\": 4,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.863\",\r\n    \"Error\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e18e\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"StoreProfile\",\r\n    \"SourceCount\": 1,\r\n    \"DestinationCount\": 1,\r\n    \"Status\": \"Completed\",\r\n    \"ModifiedDate\": \"2022-04-17T15:20:18.863\",\r\n    \"Error\": null\r\n  }\r\n]"}],"_postman_id":"46ddade5-1909-4ed8-8daa-f1c573a9ffee"},{"name":"Migrate Store Data","id":"ff579f34-2a0a-4bb9-ac89-00fe521c2b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n    \"MigrationId\": \"04c27dbd-8574-4832-b8b8-9b1c133e94d6\",\r\n    \"RemoveExistingDataInDestination\": true,\r\n    \"MigrateEntities\": [\r\n        \"Pages\",\r\n        \"WidgetTemplates\",\r\n        \"Widgets\",\r\n        \"CouponCodes\"\r\n    ],\r\n    \"AnonymiseCustomerData\": false,\r\n    \"OrderStatuses\": [],\r\n    \"Channels\": [\r\n        \"Facebook (facebook)\"\r\n    ],\r\n    \"B2BData\": [],\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"z6a******tx29\",\r\n        \"StoreUrl\": \"\",\r\n        \"StoreAccessToken\": \"48haup32*******uerw5frvg2snplr\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"xol****l5\",\r\n        \"StoreUrl\": \"\",\r\n        \"StoreAccessToken\": \"8zgpq48c********p43vigje7ykeqp\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null,\r\n    \"Migrate_inventory_level\": true,\r\n    \"Migrate_price\": true\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/MigrateStoreData","description":"<h3 id=\"migrate-store-data\">Migrate Store Data</h3>\n<p>This endpoint allows you to migrate store data using the specified parameters. The request should be sent as an HTTP POST to the given URL with the required payload in the raw request body.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>MigrationId (string): The unique identifier for the migration process.</p>\n</li>\n<li><p>RemoveExistingDataInDestination (boolean): A flag indicating whether to remove existing data in the destination store.</p>\n</li>\n<li><p>MigrateEntities (array of strings): The entities to be migrated.</p>\n</li>\n<li><p>AnonymiseCustomerData (boolean): A flag indicating whether to anonymize customer data during migration.</p>\n</li>\n<li><p>OrderStatuses (array): The statuses of orders to be migrated.</p>\n</li>\n<li><p>Channels (array of strings): The channels from which data is to be migrated.</p>\n</li>\n<li><p>B2BData (array): Additional B2B data to be migrated.</p>\n</li>\n<li><p>SourceStoreCredentials (object): The credentials for the source store, including StoreId, StoreUrl, StoreAccessToken, and Subscription status.</p>\n</li>\n<li><p>DestinationStoreCredentials (object): The credentials for the destination store, including StoreId, StoreUrl, StoreAccessToken, and Subscription status.</p>\n</li>\n<li><p>IsScheduledRequest (boolean): A flag indicating whether the request is scheduled for a future date.</p>\n</li>\n<li><p>ScheduleDateTime (datetime): The date and time for the scheduled request.</p>\n</li>\n<li><p>Migrate_inventory_level (boolean): A flag indicating whether to migrate inventory levels.</p>\n</li>\n<li><p>Migrate_price (boolean): A flag indicating whether to migrate prices.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is in JSON format with the following structure:</p>\n<ul>\n<li><p>Status (string): The status of the migration process.</p>\n</li>\n<li><p>StatusComment (string): Additional comments or details about the migration status.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Status\": \"\",\n    \"StatusComment\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","MigrateStoreData"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"0bda9884-9fdc-4f31-857c-9c0f697a7630","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/MigrateStoreData"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\"\r\n}"}],"_postman_id":"ff579f34-2a0a-4bb9-ac89-00fe521c2b4f"},{"name":"Get Entity Errors","id":"28088f3e-dbe0-4962-ada8-365d374f21c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors?destinationStoreId=fr4k54h1ye&migrationId=7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D&entityName=CustomerGroups","description":"<h3 id=\"get-entity-errors\">Get Entity Errors</h3>\n<p>This endpoint makes an HTTP GET request to retrieve entity errors for a specific destination store and migration ID. The request URL is <a href=\"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors\">https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors</a>, and it includes query parameters for destinationStoreId, migrationId, and entityName.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON array containing objects with the following properties:</p>\n<ul>\n<li><p>MigrateStoreDataErrorId (number): The ID of the migration store data error.</p>\n</li>\n<li><p>MigrationId (string): The ID of the migration.</p>\n</li>\n<li><p>SourceStoreId (string): The ID of the source store.</p>\n</li>\n<li><p>DestinationStoreId (string): The ID of the destination store.</p>\n</li>\n<li><p>EntityName (string): The name of the entity.</p>\n</li>\n<li><p>Error (string): Description of the error.</p>\n</li>\n<li><p>ModifiedDate (string): The date of modification.</p>\n</li>\n</ul>\n<p>Here is an example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[{\"MigrateStoreDataErrorId\":0,\"MigrationId\":\"\",\"SourceStoreId\":\"\",\"DestinationStoreId\":\"\",\"EntityName\":\"\",\"Error\":\"\",\"ModifiedDate\":\"\"}]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetEntityErrors"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D"},{"key":"entityName","value":"CustomerGroups"}],"variable":[]}},"response":[{"id":"e35aa234-c96d-4834-80d6-19e632707c9f","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetEntityErrors?destinationStoreId=fr4k54h1ye&migrationId=7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D&entityName=CustomerGroups","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetEntityErrors"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"7F3BF7A6-EA6F-4D84-8054-7F9F4150E17D"},{"key":"entityName","value":"CustomerGroups"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"MigrateStoreDataErrorId\": 855,\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e15g\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CustomerGroups\",\r\n    \"Error\": \"Conflict: [{\\\"status\\\":409,\\\"message\\\":\\\"A resource conflict prevented the request from being fulfilled.\\\",\\\"details\\\":{\\\"conflict_reason\\\":\\\"A customer group with the name 'WholeSale' already exists.\\\",\\\"duplicate_customer_group_id\\\":1}}]\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:36.933\"\r\n  },\r\n  {\r\n    \"MigrateStoreDataErrorId\": 856,\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e15g\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CustomerGroups\",\r\n    \"Error\": \"Conflict: [{\\\"status\\\":409,\\\"message\\\":\\\"A resource conflict prevented the request from being fulfilled.\\\",\\\"details\\\":{\\\"conflict_reason\\\":\\\"A customer group with the name 'NOT LOGGED IN' already exists.\\\",\\\"duplicate_customer_group_id\\\":2}}]\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:37.19\"\r\n  },\r\n  {\r\n    \"MigrateStoreDataErrorId\": 857,\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e15g\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CustomerGroups\",\r\n    \"Error\": \"Conflict: [{\\\"status\\\":409,\\\"message\\\":\\\"A resource conflict prevented the request from being fulfilled.\\\",\\\"details\\\":{\\\"conflict_reason\\\":\\\"A customer group with the name 'General' already exists.\\\",\\\"duplicate_customer_group_id\\\":3}}]\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:37.44\"\r\n  },\r\n  {\r\n    \"MigrateStoreDataErrorId\": 859,\r\n    \"MigrationId\": \"7f3bf7a6-ea6f-4d84-8054-7f9f4150e15g\",\r\n    \"SourceStoreId\": \"hd2j3gh4ye\",\r\n    \"DestinationStoreId\": \"fr4k54h1ye\",\r\n    \"EntityName\": \"CustomerGroups\",\r\n    \"Error\": \"Conflict: [{\\\"status\\\":409,\\\"message\\\":\\\"A resource conflict prevented the request from being fulfilled.\\\",\\\"details\\\":{\\\"conflict_reason\\\":\\\"A customer group with the name 'Retailer' already exists.\\\",\\\"duplicate_customer_group_id\\\":5}}]\",\r\n    \"ModifiedDate\": \"2022-04-17T15:19:37.853\"\r\n  }\r\n]"}],"_postman_id":"28088f3e-dbe0-4962-ada8-365d374f21c6"},{"name":"Cancel Data Migration Request","id":"6a8659c9-3605-4165-a9ce-210d646fe265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"DestinationStoreId\":\"cd******df\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelMigrateStoreDataRequest","description":"<h3 id=\"cancel-data-migration-request\">Cancel Data Migration Request</h3>\n<p>This endpoint allows you to cancel the migration of store data.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration to be cancelled.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following properties:</p>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string): The ID of the source store.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n<li><p><code>Status</code> (string): The status of the migration.</p>\n</li>\n<li><p><code>PercentCompleted</code> (number): The percentage of completion of the migration.</p>\n</li>\n<li><p><code>Comment</code> (string): Any additional comment related to the migration.</p>\n</li>\n</ul>\n<h4 id=\"json-schema\">JSON Schema</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": {\"type\": \"string\"},\n    \"SourceStoreId\": {\"type\": \"string\"},\n    \"DestinationStoreId\": {\"type\": \"string\"},\n    \"Status\": {\"type\": \"string\"},\n    \"PercentCompleted\": {\"type\": \"number\"},\n    \"Comment\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","CancelMigrateStoreDataRequest"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"8717482a-3148-400c-948b-acd3d6b35398","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledMigrateStoreDataRequest"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"99becc91-681a-475a-844a-914b6b593441\",\r\n  \"SourceStoreId\": \"v6dsj2j2ew\",\r\n  \"DestinationStoreId\": \"nwdfjh4sjl1\",\r\n  \"Status\": \"Cancelled\",\r\n  \"PercentCompleted\": 0,\r\n  \"Comment\": \"Request is cancelled\"\r\n}"}],"_postman_id":"6a8659c9-3605-4165-a9ce-210d646fe265"},{"name":"Get Data Migration History Report","id":"373717dc-5f43-4822-a408-0bc9cbd8ece8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"fromDate","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrationHistoryReport?storeId=fr4k54h1ye&sourceStoreId=fr4k54h1ye&destinationStoreId=fr4k54h1ye&isScheduled=B1A4F5FB-9D24-4051-973A-D08927E346D1&toDate=2022-09-20&migrationId=34e2c1d0-6165-4868-8f0e-1261081171cd&entityType=entityType2&pageNumber=1&pageSize=10","description":"<h3 id=\"get-migration-history-report\">Get Migration History Report</h3>\n<p>The <code>GetMigrationHistoryReport</code> endpoint retrieves the migration history report based on the provided parameters. The response is a JSON object with two main properties: <code>MigrateHistoryReport</code> and <code>MetaData</code>.</p>\n<p>The <code>MigrateHistoryReport</code> property contains an array of objects, where each object represents a migration history record. The objects have the following properties:</p>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string): The ID of the source store.</p>\n</li>\n<li><p><code>SourceStoreUrl</code> (string): The URL of the source store.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n<li><p><code>DestinationStoreUrl</code> (string): The URL of the destination store.</p>\n</li>\n<li><p><code>Status</code> (string): The status of the migration.</p>\n</li>\n<li><p><code>Comment</code> (string): Any additional comments related to the migration.</p>\n</li>\n<li><p><code>CreatedDate</code> (string): The date of creation of the migration record.</p>\n</li>\n<li><p><code>ModifiedDate</code> (string): The date of modification of the migration record.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean): Indicates if the migration is a scheduled request.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (string): The date and time of the scheduled migration.</p>\n</li>\n<li><p><code>EntityType</code> (string): The type of entity being migrated.</p>\n</li>\n</ul>\n<p>The <code>MetaData</code> property contains information about the pagination and number of records. It has the following properties:</p>\n<ul>\n<li><p><code>PageNumber</code> (number): The current page number.</p>\n</li>\n<li><p><code>PageSize</code> (number): The number of records per page.</p>\n</li>\n<li><p><code>NumberOfRecords</code> (number): The total number of records.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"MigrateHistoryReport\": [\n    {\n      \"MigrationId\": \"\",\n      \"SourceStoreId\": \"\",\n      \"SourceStoreUrl\": \"\",\n      \"DestinationStoreId\": \"\",\n      \"DestinationStoreUrl\": \"\",\n      \"Status\": \"\",\n      \"Comment\": \"\",\n      \"CreatedDate\": \"\",\n      \"ModifiedDate\": \"\",\n      \"IsScheduledRequest\": true,\n      \"ScheduleDateTime\": \"\",\n      \"EntityType\": \"\"\n    }\n  ],\n  \"MetaData\": {\n    \"PageNumber\": 0,\n    \"PageSize\": 0,\n    \"NumberOfRecords\": 0\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetMigrationHistoryReport"],"host":["api","stagingpro","com"],"query":[{"key":"storeId","value":"fr4k54h1ye"},{"key":"sourceStoreId","value":"fr4k54h1ye"},{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"isScheduled","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"},{"key":"toDate","value":"2022-09-20"},{"key":"migrationId","value":"34e2c1d0-6165-4868-8f0e-1261081171cd"},{"description":{"content":"<p>One of the entity types. E.g.: Content, Product, Promotion, Theme</p>\n","type":"text/plain"},"key":"entityType","value":"entityType2"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}],"variable":[]}},"response":[{"id":"b2196346-adac-4a21-a3c4-a9b3ad98a676","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"fromDate","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetMigrationHistoryReport?storeId=fr4k54h1ye&sourceStoreId=fr4k54h1ye&destinationStoreId=fr4k54h1ye&isScheduled=B1A4F5FB-9D24-4051-973A-D08927E346D1&toDate=2022-09-20&migrationId=34e2c1d0-6165-4868-8f0e-1261081171cd&entityType=entityType2&pageNumber=1&pageSize=10","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetMigrationHistoryReport"],"query":[{"key":"storeId","value":"fr4k54h1ye"},{"key":"sourceStoreId","value":"fr4k54h1ye"},{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"isScheduled","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"},{"key":"toDate","value":"2022-09-20"},{"key":"migrationId","value":"34e2c1d0-6165-4868-8f0e-1261081171cd"},{"key":"entityType","value":"entityType2","description":"One of the entity types. E.g.: Content, Product, Promotion, Theme"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrateHistoryReport\": [\r\n    {\r\n      \"MigrationId\": \"dd37eb5f-a************81-9ba1bb77d0a2\",\r\n      \"SourceStoreId\": \"v6*****n91\",\r\n      \"SourceStoreUrl\": \"https://bigi.247commerce.co.uk\",\r\n      \"DestinationStoreId\": \"6b****1w\",\r\n      \"DestinationStoreUrl\": \"https://bigidev-p9.mybigcommerce.com\",\r\n      \"Status\": \"Cancelled\",\r\n      \"Comment\": \"Request is cancelled\",\r\n      \"CreatedDate\": \"2022-11-09T15:43:28.053\",\r\n      \"ModifiedDate\": \"2022-11-09T15:43:50.45\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-20T18:00:00\",\r\n      \"EntityType\": \"Theme\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"699cc6b4-5************e-df24dae4a21d\",\r\n      \"SourceStoreId\": \"v6q9*****1\",\r\n      \"SourceStoreUrl\": \"https://bigi.247commerce.co.uk\",\r\n      \"DestinationStoreId\": \"6b****1w\",\r\n      \"DestinationStoreUrl\": \"https://bigidev-p9.mybigcommerce.com\",\r\n      \"Status\": \"Scheduled\",\r\n      \"Comment\": \"Request scheduled successfully\",\r\n      \"CreatedDate\": \"2022-11-09T15:43:14.917\",\r\n      \"ModifiedDate\": \"2022-11-09T15:43:14.917\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-20T18:00:00\",\r\n      \"EntityType\": \"Theme\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"8cbbaa8e-************-27f70eb31fa8\",\r\n      \"SourceStoreId\": \"v6*****91\",\r\n      \"SourceStoreUrl\": \"https://bigi.247commerce.co.uk\",\r\n      \"DestinationStoreId\": \"6b*****1w\",\r\n      \"DestinationStoreUrl\": \"https://bigidev-p9.mybigcommerce.com\",\r\n      \"Status\": \"Cancelled\",\r\n      \"Comment\": \"Request is cancelled\",\r\n      \"CreatedDate\": \"2022-11-09T15:41:32.8\",\r\n      \"ModifiedDate\": \"2022-11-10T11:32:48.927\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-20T18:00:00\",\r\n      \"EntityType\": \"Theme\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"8db5f230-************1b93e669d88f\",\r\n      \"SourceStoreId\": \"wt****tm\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk******lf\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Completed\",\r\n      \"Comment\": \"Publish Completed\",\r\n      \"CreatedDate\": \"2022-11-08T10:11:34.907\",\r\n      \"ModifiedDate\": \"2022-11-08T11:00:50.39\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-08T11:00:00\",\r\n      \"EntityType\": \"Content\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"87dd7da9-************-6108d6d01cb0\",\r\n      \"SourceStoreId\": \"w******tm\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk*******lf\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Cancelled\",\r\n      \"Comment\": \"Request is cancelled\",\r\n      \"CreatedDate\": \"2022-11-08T07:18:56.44\",\r\n      \"ModifiedDate\": \"2022-11-08T07:36:07.41\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-08T08:00:00\",\r\n      \"EntityType\": \"Product\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"f782a71c-************-e6c1eba973f3\",\r\n      \"SourceStoreId\": \"wt********tm\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk******lf\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Success\",\r\n      \"Comment\": \"Success\",\r\n      \"CreatedDate\": \"2022-11-07T17:15:10.13\",\r\n      \"ModifiedDate\": \"2022-11-07T18:00:08.44\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-07T18:00:00\",\r\n      \"EntityType\": \"Product\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"a24ef7c8-************-dbd350476ffa\",\r\n      \"SourceStoreId\": \"wt*******tm\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk******f\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Success\",\r\n      \"Comment\": \"Success\",\r\n      \"CreatedDate\": \"2022-11-07T17:08:07.313\",\r\n      \"ModifiedDate\": \"2022-11-07T18:00:09.85\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-07T18:00:00\",\r\n      \"EntityType\": \"Product\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"7aff2065-************3-463cb6c5406e\",\r\n      \"SourceStoreId\": \"wt*****m\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk*******f\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Cancelled\",\r\n      \"Comment\": \"Request is cancelled\",\r\n      \"CreatedDate\": \"2022-11-07T17:02:25.817\",\r\n      \"ModifiedDate\": \"2022-11-07T17:17:30.967\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-07T18:00:00\",\r\n      \"EntityType\": \"Content\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"8d0ed7e2-************c-7d8dc1541671\",\r\n      \"SourceStoreId\": \"wtg*****m\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"xk********lf\",\r\n      \"DestinationStoreUrl\": \"https://staging-j2.mybigcommerce.com\",\r\n      \"Status\": \"Cancelled\",\r\n      \"Comment\": \"Request is cancelled\",\r\n      \"CreatedDate\": \"2022-11-07T14:50:59.07\",\r\n      \"ModifiedDate\": \"2022-11-07T14:51:26.417\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-07T15:00:00\",\r\n      \"EntityType\": \"Content\"\r\n    },\r\n    {\r\n      \"MigrationId\": \"e68c5062-************-5fc6d173ca08\",\r\n      \"SourceStoreId\": \"wt********tm\",\r\n      \"SourceStoreUrl\": \"https://production-g9.mybigcommerce.com\",\r\n      \"DestinationStoreId\": \"w*******k\",\r\n      \"DestinationStoreUrl\": \"https://247-commerce-sandbox-store.mybigcommerce.com\",\r\n      \"Status\": \"Success\",\r\n      \"Comment\": \"Success\",\r\n      \"CreatedDate\": \"2022-11-07T14:37:31.043\",\r\n      \"ModifiedDate\": \"2022-11-07T15:00:06.137\",\r\n      \"IsScheduledRequest\": true,\r\n      \"ScheduleDateTime\": \"2022-11-07T15:00:00\",\r\n      \"EntityType\": \"Product\"\r\n    }\r\n  ],\r\n  \"MetaData\": {\r\n    \"PageNumber\": 2,\r\n    \"PageSize\": 10,\r\n    \"NumberOfRecords\": 145\r\n  }\r\n}"}],"_postman_id":"373717dc-5f43-4822-a408-0bc9cbd8ece8"},{"name":"Get Scheduled Migration Data Requests","id":"652bf331-e293-4be6-a8bc-62654e943145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetAnyScheduledMigrateDataRequests?destinationStoreId=c34jj344u3&scheduledDate=B1A4F5FB-9D24-4051-973A-D08927E346D1&entityType=entityType71&entityIds=%5B%22entityIds71%22%5D&migrationId=migrationId71","description":"<h1 id=\"get-scheduled-migration-data-requests\">Get Scheduled Migration Data Requests</h1>\n<p>This endpoint retrieves any scheduled migrate data requests based on the provided parameters.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><p><code>destinationStoreId</code> (string, required): The ID of the destination store.</p>\n</li>\n<li><p><code>scheduledDate</code> (string, required): The scheduled date for the migration request.</p>\n</li>\n<li><p><code>entityType</code> (string, required): The type of entity for the migration request.</p>\n</li>\n<li><p><code>entityIds</code> (array of strings, required): The IDs of the entities to be migrated.</p>\n</li>\n<li><p><code>migrationId</code> (string, required): The ID of the migration.</p>\n</li>\n</ul>\n<h3 id=\"example\">Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-plaintext\">https://api.stagingpro.com/v1/api/BigcFunction/GetAnyScheduledMigrateDataRequests?destinationStoreId=c34jj344u3&amp;scheduledDate=B1A4F5FB-9D24-4051-973A-D08927E346D1&amp;entityType=entityType71&amp;entityIds=[\"entityIds71\"]&amp;migrationId=migrationId71\n\n</code></pre>\n<h2 id=\"response\">Response</h2>\n<p>The response will be an array of objects with the following properties:</p>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string): The ID of the source store.</p>\n</li>\n<li><p><code>SourceStoreUrl</code> (string): The URL of the source store.</p>\n</li>\n<li><p><code>SourceEntityId</code> (string): The ID of the source entity.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n<li><p><code>DestinationStoreUrl</code> (string): The URL of the destination store.</p>\n</li>\n<li><p><code>MigrateEntities</code> (array of strings): The entities to be migrated.</p>\n</li>\n<li><p><code>Status</code> (string): The status of the migration request.</p>\n</li>\n<li><p><code>Comment</code> (string): Any additional comments for the request.</p>\n</li>\n<li><p><code>CreatedDate</code> (string): The date of creation of the request.</p>\n</li>\n<li><p><code>ModifiedDate</code> (string): The date of modification of the request.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean): Indicates if the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (string): The scheduled date and time for the request.</p>\n</li>\n<li><p><code>Rdata</code> (string): Additional data related to the request.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[{\"MigrationId\":\"\",\"SourceStoreId\":\"\",\"SourceStoreUrl\":\"\",\"SourceEntityId\":null,\"DestinationStoreId\":\"\",\"DestinationStoreUrl\":\"\",\"MigrateEntities\":[\"\"],\"Status\":\"\",\"Comment\":\"\",\"CreatedDate\":\"\",\"ModifiedDate\":\"\",\"IsScheduledRequest\":true,\"ScheduleDateTime\":\"\",\"Rdata\":null}]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetAnyScheduledMigrateDataRequests"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"c34jj344u3"},{"key":"scheduledDate","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"},{"description":{"content":"<p>One of the entity types. E.g.: Content, Product, Promotion, Theme</p>\n","type":"text/plain"},"key":"entityType","value":"entityType71"},{"description":{"content":"<p>Required for all entity types other than entity type \"Content\"</p>\n","type":"text/plain"},"key":"entityIds","value":"%5B%22entityIds71%22%5D"},{"key":"migrationId","value":"migrationId71"}],"variable":[]}},"response":[{"id":"196ebadf-8104-4c15-a389-81aaedccd6ba","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetAnyScheduledMigrateDataRequests?destinationStoreId=c34jj344u3&scheduledDate=B1A4F5FB-9D24-4051-973A-D08927E346D1&entityType=entityType71&entityIds=%5B%22entityIds71%22%5D&migrationId=migrationId71","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetAnyScheduledMigrateDataRequests"],"query":[{"key":"destinationStoreId","value":"c34jj344u3"},{"key":"scheduledDate","value":"B1A4F5FB-9D24-4051-973A-D08927E346D1"},{"key":"entityType","value":"entityType71","description":"One of the entity types. E.g.: Content, Product, Promotion, Theme"},{"key":"entityIds","value":"%5B%22entityIds71%22%5D","description":"Required for all entity types other than entity type \"Content\""},{"key":"migrationId","value":"migrationId71"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\r\n  {\r\n    \"MigrationId\": \"f6315712-2b33-4601-ae76-dada79d87f43\",\r\n    \"SourceStoreId\": \"v6qsds491\",\r\n    \"SourceStoreUrl\": \"https://bigi233.247commerce.co.uk\",\r\n    \"SourceEntityId\": null,\r\n    \"DestinationStoreId\": \"fgtbisrb9x\",\r\n    \"DestinationStoreUrl\": \"https://bigi23.247commerce.co.uk\",\r\n    \"MigrateEntities\": [\r\n      \"Brands\",\r\n      \"Categories\"\r\n    ],\r\n    \"Status\": \"Scheduled\",\r\n    \"Comment\": \"Your requested migration is scheduled\",\r\n    \"CreatedDate\": \"2022-11-24T12:57:00.673\",\r\n    \"ModifiedDate\": \"2022-11-24T12:57:00.673\",\r\n    \"IsScheduledRequest\": true,\r\n    \"ScheduleDateTime\": \"2022-12-01T00:00:00\",\r\n    \"Rdata\": null\r\n  },\r\n  {\r\n    \"MigrationId\": \"e5334712-2b33-4601-ae76-dada79d87s32\",\r\n    \"SourceStoreId\": \"4fs442dh6hy\",\r\n    \"SourceStoreUrl\": \"https://bigi233.247commerce.co.uk\",\r\n    \"SourceEntityId\": null,\r\n    \"DestinationStoreId\": \"fgtbisrb9x\",\r\n    \"DestinationStoreUrl\": \"https://bigi233.247commerce.co.uk\",\r\n    \"MigrateEntities\": [\r\n      \"Brands\",\r\n      \"Categories\",\r\n      \"Products\"\r\n    ],\r\n    \"Status\": \"Scheduled\",\r\n    \"Comment\": \"Your requested migration is scheduled\",\r\n    \"CreatedDate\": \"2022-11-24T12:57:00.673\",\r\n    \"ModifiedDate\": \"2022-11-24T12:57:00.673\",\r\n    \"IsScheduledRequest\": true,\r\n    \"ScheduleDateTime\": \"2022-12-01T00:00:00\",\r\n    \"Rdata\": null\r\n  }\r\n]"}],"_postman_id":"652bf331-e293-4be6-a8bc-62654e943145"},{"name":"Get In Progress Content Migration","id":"2cd3dfbc-33ae-419d-90cb-bd4d4fc48a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetIfAnyInProgressContentMigration?sourceStoreId=hd2j3gh4ye&destinationStoreId=j%2A%2A%2A%2A%2A%2Ake","description":"<h3 id=\"get-in-progress-content-migration-request\">Get In-Progress Content Migration Request</h3>\n<p>The <code>GetIfAnyInProgressContentMigration</code> endpoint returns a JSON response with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"AnyInProgressContentMigration\": \"boolean\",\n  \"Status\": \"string\",\n  \"PercentCompleted\": \"number\",\n  \"Comment\": \"string\",\n  \"RequestJson\": {\n    \"MigrationId\": \"string\",\n    \"RemoveExistingDataInDestination\": \"boolean\",\n    \"MigrateEntities\": [\"string\"],\n    \"AnonymiseCustomerData\": \"boolean\",\n    \"OrderStatuses\": [\"string\"],\n    \"Channels\": [\"string\"],\n    \"B2BData\": [\"string\"],\n    \"IsScheduledRequest\": \"boolean\",\n    \"ScheduleDateTime\": \"string\"\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetIfAnyInProgressContentMigration"],"host":["api","stagingpro","com"],"query":[{"key":"sourceStoreId","value":"hd2j3gh4ye"},{"key":"destinationStoreId","value":"j%2A%2A%2A%2A%2A%2Ake"}],"variable":[]}},"response":[{"id":"535dbb06-6113-46e0-b056-d8197fae58e6","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetIfAnyInProgressContentMigration?sourceStoreId=hd2j3gh4ye&destinationStoreId=j%2A%2A%2A%2A%2A%2Ake","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetIfAnyInProgressContentMigration"],"query":[{"key":"sourceStoreId","value":"hd2j3gh4ye"},{"key":"destinationStoreId","value":"j%2A%2A%2A%2A%2A%2Ake"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"AnyInProgressContentMigration\": true,\r\n  \"Status\": \"InProgress\",\r\n  \"PercentCompleted\": 69,\r\n  \"Comment\": \"Publishing Active Theme\",\r\n  \"RequestJson\": {\r\n    \"MigrationId\": \"8ed8****************b2f0c\",\r\n    \"RemoveExistingDataInDestination\": false,\r\n    \"MigrateEntities\": [\r\n      \"ActiveTheme\"\r\n    ],\r\n    \"AnonymiseCustomerData\": false,\r\n    \"OrderStatuses\": [],\r\n    \"Channels\": [],\r\n    \"B2BData\": [],\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null\r\n  }\r\n}"}],"_postman_id":"2cd3dfbc-33ae-419d-90cb-bd4d4fc48a24"}],"id":"026b39e6-34dd-462d-93a6-ebf77bba0753","description":"<p><strong>Get Store Data Summary (GET)</strong>:<br />Retrieves a summary of store data, including counts of pages, widgets, banners, abandoned cart email templates, products, and other store-related entities.</p>\n<p><strong>Get Data Migration Status (GET)</strong>:<br />Checks the status of the migration process for a store's data. It returns progress details, such as the percentage completed and current status of the migration.</p>\n<p><strong>Get Data Migration Entity Status (GET)</strong>:<br />Fetches the migration status of individual entities (e.g., brands, categories, products) during a store migration process. It includes source and destination counts for each entity.</p>\n<p><strong>Migrate Store Data (POST)</strong>:<br />Initiates the migration of store data from one store to another. The request specifies the entities to be migrated, whether to remove existing data in the destination, and migration credentials for both source and destination stores.</p>\n<p><strong>Get Entity Errors (GET)</strong>:<br />Retrieves any errors encountered during the migration of specific entities (e.g., CustomerGroups) between stores. This includes details about conflicts or other migration issues.</p>\n<p><strong>Cancel Data Migration Request (POST)</strong>:<br />Cancels a scheduled migration request. The request needs the migration ID and destination store ID, and on success, it confirms that the migration request has been canceled.</p>\n<p><strong>Get Data Migration History Report (GET)</strong>:<br />Generates a report of past migration history for a store, including details of each migration, such as status, comments, scheduled time, and entity types involved.</p>\n<p><strong>Get Scheduled Migration Data Requests (GET)</strong>:<br />Returns any scheduled migration requests for the specified destination store, including migration details such as the entities involved and the scheduled date.</p>\n<p><strong>Get In Progress Content Migration (GET)</strong>:<br />Retrieves the current status of content migration, indicating if any migration tasks are in progress.</p>\n","_postman_id":"026b39e6-34dd-462d-93a6-ebf77bba0753","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Product Migration","item":[{"name":"Product Migration","id":"f96acc95-caaf-4aeb-9877-915de8abd744","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n    \"MigrationId\": \"ff6**bba-0a3f-4f8e-9e20-585****cb679\",\r\n    \"ProductId\": 3652,\r\n    \"Brand\": true,\r\n    \"Categories\": true,\r\n    \"IsDestinationProduction\": true,\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"rkz****vtj\",\r\n        \"StoreUrl\": \"https:**********mmerce.com\",\r\n        \"StoreAccessToken\": \"6ft8os**********qylmyrg832j1m36uk\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"g5****857h\",\r\n        \"StoreUrl\": \"https://pharmacy2**********1.mybigcommerce.com\",\r\n        \"StoreAccessToken\": \"jazabe**********8dz6batinj0s8dt\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null,\r\n    \"Migrate_inventory_level\": false,\r\n    \"Migrate_price\": false\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcProductUpdate","description":"<h3 id=\"product-migration\">Product Migration</h3>\n<p>This HTTP POST request is used to update a big product in the staging environment. The request payload includes a unique MigrationId, ProductId, Brand, Categories, SourceStoreCredentials, DestinationStoreCredentials, IsScheduledRequest, ScheduleDateTime, Migrate_inventory_level, and Migrate_price. The SourceStoreCredentials and DestinationStoreCredentials contain StoreId, StoreUrl, StoreAccessToken, Subscription, and ChannelID. The request body is in raw format.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>MigrationId (string): Unique migration ID</p>\n</li>\n<li><p>ProductId (integer): ID of the product</p>\n</li>\n<li><p>Brand (boolean): Indicates if brand information is included</p>\n</li>\n<li><p>Categories (boolean): Indicates if category information is included</p>\n</li>\n<li><p>IsDestinationProduction (boolean): Indicates if the destination is a production environment</p>\n</li>\n<li><p>SourceStoreCredentials (object): Credentials for the source store</p>\n<ul>\n<li><p>StoreId (string): ID of the source store</p>\n</li>\n<li><p>StoreUrl (string): URL of the source store</p>\n</li>\n<li><p>StoreAccessToken (string): Access token for the source store</p>\n</li>\n<li><p>Subscription (boolean): Indicates if there is a subscription</p>\n</li>\n<li><p>ChannelID (integer): ID of the channel</p>\n</li>\n</ul>\n</li>\n<li><p>DestinationStoreCredentials (object): Credentials for the destination store</p>\n<ul>\n<li><p>StoreId (string): ID of the destination store</p>\n</li>\n<li><p>StoreUrl (string): URL of the destination store</p>\n</li>\n<li><p>StoreAccessToken (string): Access token for the destination store</p>\n</li>\n<li><p>Subscription (boolean): Indicates if there is a subscription</p>\n</li>\n<li><p>ChannelID (integer): ID of the channel</p>\n</li>\n</ul>\n</li>\n<li><p>IsScheduledRequest (boolean): Indicates if the request is scheduled</p>\n</li>\n<li><p>ScheduleDateTime (string): Date and time of scheduled request</p>\n</li>\n<li><p>Migrate_inventory_level (boolean): Indicates if inventory level migration is required</p>\n</li>\n<li><p>Migrate_price (boolean): Indicates if price migration is required</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response includes Status and StatusComment, but the values are not provided in the examples.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","BigcProductUpdate"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"d64f3073-9ef5-4645-a85a-a585468b6f79","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"{{MigrationIdNew}}\",\r\n  \"ProductId\": 1389,\r\n  \"Brand\": true,\r\n  \"Categories\": true,\r\n  \"IsDestinationProduction\": false,\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcProductUpdate"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\"\r\n}"}],"_postman_id":"f96acc95-caaf-4aeb-9877-915de8abd744"},{"name":"Get Product Migration Status","id":"4f35588b-547b-4db9-bd8e-ab8e0c6fa93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcProductUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","description":"<h3 id=\"get-product-migration-status\">Get Product Migration Status</h3>\n<p>This endpoint retrieves the update status of a product migration.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>Endpoint: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetBigcProductUpdateStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>destinationStoreId</code> (string, required): The ID of the destination store.</p>\n</li>\n<li><p><code>migrationId</code> (string, required): The ID of the migration.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": { \"type\": \"string\" },\n    \"SourceStoreId\": { \"type\": \"string\" },\n    \"DestinationStoreId\": { \"type\": \"string\" },\n    \"SourceProductId\": { \"type\": \"integer\" },\n    \"DestinationProductId\": { \"type\": \"integer\" },\n    \"Status\": { \"type\": \"string\" },\n    \"Comment\": { \"type\": [\"string\", \"null\"] },\n    \"ModifiedDate\": { \"type\": \"string\" },\n    \"IsScheduledRequest\": { \"type\": \"boolean\" },\n    \"ScheduleDateTime\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetBigcProductUpdateStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}],"variable":[]}},"response":[{"id":"0a06320f-2087-4de7-ac3b-19a8ba06707f","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcProductUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetBigcProductUpdateStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"9672cc10-00e9-471d-b262-06ef6712ced1\",\r\n  \"SourceStoreId\": \"hd2j3gh4ye\",\r\n  \"DestinationStoreId\": \"fr4k54h1ye\",\r\n  \"SourceProductId\": 21800,\r\n  \"DestinationProductId\": 342,\r\n  \"Status\": \"Success\",\r\n  \"Comment\": null,\r\n  \"ModifiedDate\": \"2022-07-11T12:06:20.84\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"4f35588b-547b-4db9-bd8e-ab8e0c6fa93b"},{"name":"Cancel Scheduled Product Migration Request","id":"6fd94161-ea0e-4063-a430-c7378ff74a7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"DestinationStoreId\":\"**dsfd***\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledProductUpdateRequest","description":"<h3 id=\"cancel-scheduled-product-migration-request\">Cancel Scheduled Product Migration Request</h3>\n<p>This API endpoint is used to cancel a scheduled product update request.</p>\n<p><strong>Request Body</strong></p>\n<ul>\n<li><p>MigrationId (string, required): The ID of the migration.</p>\n</li>\n<li><p>DestinationStoreId (string, required): The ID of the destination store.</p>\n</li>\n</ul>\n<p><strong>Response</strong><br />The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": {\"type\": \"string\"},\n    \"SourceStoreId\": {\"type\": \"string\"},\n    \"DestinationStoreId\": {\"type\": \"string\"},\n    \"SourceProductId\": {\"type\": \"integer\"},\n    \"DestinationProductId\": {\"type\": [\"integer\", \"null\"]},\n    \"Status\": {\"type\": \"string\"},\n    \"Comment\": {\"type\": \"string\"},\n    \"ModifiedDate\": {\"type\": \"string\"},\n    \"IsScheduledRequest\": {\"type\": \"boolean\"},\n    \"ScheduleDateTime\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","CancelScheduledProductUpdateRequest"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"a43ede87-88ed-49c7-8fab-5653259bdeb1","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledProductUpdateRequest"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"79b64a04-f686-420e-98be-fd8cdfa2a1a4\",\r\n  \"SourceStoreId\": \"v6e2r42e391\",\r\n  \"DestinationStoreId\": \"nw6w3ed4jl1\",\r\n  \"SourceProductId\": 8847,\r\n  \"DestinationProductId\": null,\r\n  \"Status\": \"Cancelled\",\r\n  \"Comment\": \"Request is cancelled\",\r\n  \"ModifiedDate\": \"2022-09-12T16:27:29.5126573+00:00\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"6fd94161-ea0e-4063-a430-c7378ff74a7c"}],"id":"a10b7e00-8e31-4619-a49e-2d7ea39db606","description":"<p><strong>Product Migration (POST)</strong>:<br />This API updates product details from a source BigCommerce store to a destination store. The request includes information like product ID, categories, and brand, along with credentials for both stores. This is used for migrating product-related data.</p>\n<p><strong>Get Product Migration Status (GET)</strong>:<br />Retrieves the status of an ongoing or completed product update. It returns information about the source and destination product IDs, as well as the migration status (e.g., completed, in progress, or failed).</p>\n<p><strong>Cancel Scheduled Product Migration Request (POST)</strong>:<br />Cancels a scheduled product update request in BigCommerce. This API requires the migration ID and destination store ID to cancel the scheduled migration of product data between stores.EndFragment</p>\n","_postman_id":"a10b7e00-8e31-4619-a49e-2d7ea39db606","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Promotion Migration","item":[{"name":"Promotion Migration","id":"ed286718-fc48-4883-8d89-a2863372655b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n    \"MigrationId\": \"3edefdd6-1229-4239-b20f-f06cc2150741\",\r\n    \"PromotionId\": 148,\r\n    \"IsDestinationProduction\": true,\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"18ym****tr\",\r\n        \"StoreUrl\": \"https://staging.thew****er.co.uk\",\r\n        \"StoreAccessToken\": \"53fds**************svjkkswb5op\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"eb****dvaq\",\r\n        \"StoreUrl\": \"https://the****lyer.co.uk\",\r\n        \"StoreAccessToken\": \"ihi2d32****4fsntly7g83mgsk6d6\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcPromotionUpdate","description":"<h3 id=\"promotion-migration\">Promotion Migration</h3>\n<p>This endpoint allows you to update a BigCommerce promotion by making an HTTP POST request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>MigrationId</code> (string) - The migration ID for the promotion update.</p>\n</li>\n<li><p><code>PromotionId</code> (integer) - The ID of the promotion to be updated.</p>\n</li>\n<li><p><code>IsDestinationProduction</code> (boolean) - Indicates whether the destination store is in production.</p>\n</li>\n<li><p><code>SourceStoreCredentials</code> (object) - The credentials for the source store, including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>DestinationStoreCredentials</code> (object) - The credentials for the destination store, including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean) - Indicates whether the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (null) - The scheduled date and time for the request.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>Status</code> (string) - The status of the promotion update request.</p>\n</li>\n<li><p><code>StatusComment</code> (string) - Additional comments or details related to the status.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","BigcPromotionUpdate"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"8dd1bb73-f6cb-43ee-b1cf-c1b799d64381","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"{{MigrationIdNew}}\",\r\n  \"ProductId\": 1389,\r\n  \"Brand\": true,\r\n  \"Categories\": true,\r\n  \"IsDestinationProduction\": false,\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcPromotionUpdate"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\"\r\n}"}],"_postman_id":"ed286718-fc48-4883-8d89-a2863372655b"},{"name":"Get Promotion Migration Status","id":"8f7df370-0529-46b9-87ce-f5800c49a7ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcPromotionUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","description":"<h3 id=\"get-promotion-migration-status\">Get Promotion Migration Status</h3>\n<p>This endpoint retrieves the status of a promotion update based on the provided destination store ID and migration ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetBigcPromotionUpdateStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p>destinationStoreId (string, required): The ID of the destination store</p>\n</li>\n<li><p>migrationId (string, required): The ID of the migration</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": {\"type\": \"string\"},\n    \"SourceStoreId\": {\"type\": \"string\"},\n    \"DestinationStoreId\": {\"type\": \"string\"},\n    \"SourcePromotionId\": {\"type\": \"integer\"},\n    \"DestinationPromotionId\": {\"type\": \"integer\"},\n    \"Status\": {\"type\": \"string\"},\n    \"Comment\": {\"type\": \"string\"},\n    \"ModifiedDate\": {\"type\": \"string\"},\n    \"IsScheduledRequest\": {\"type\": \"boolean\"},\n    \"ScheduleDateTime\": {\"type\": [\"string\", \"null\"]}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetBigcPromotionUpdateStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}],"variable":[]}},"response":[{"id":"fcc116d4-bf32-4105-8f39-11c57b3e6936","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcPromotionUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetBigcPromotionUpdateStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"d2a04c01-8c73-46b6-8c14-45b808b04a18\",\r\n  \"SourceStoreId\": \"v643re4491\",\r\n  \"DestinationStoreId\": \"z6fde4491\",\r\n  \"SourcePromotionId\": 1,\r\n  \"DestinationPromotionId\": 12,\r\n  \"Status\": \"InProgress\",\r\n  \"Comment\": \"Validating request\",\r\n  \"ModifiedDate\": \"2022-09-23T11:30:49.437\",\r\n  \"IsScheduledRequest\": false,\r\n  \"ScheduleDateTime\": null\r\n}"}],"_postman_id":"8f7df370-0529-46b9-87ce-f5800c49a7ed"},{"name":"Cancel Scheduled Promotion Migration Request","id":"5340611e-1b6d-4caa-89dd-59fb82ef6e4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"DestinationStoreId\":\"dsf*******\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledPromotionUpdateRequest","description":"<h3 id=\"cancel-scheduled-promotion-migration-request\">Cancel Scheduled Promotion Migration Request</h3>\n<p>This endpoint allows you to cancel a scheduled promotion update request.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>Raw JSON</p>\n<ul>\n<li><p>MigrationId (string): The ID of the migration</p>\n</li>\n<li><p>DestinationStoreId (string): The ID of the destination store</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is a JSON object with the following properties:</p>\n<ul>\n<li><p>MigrationId (string): The ID of the migration</p>\n</li>\n<li><p>SourceStoreId (string): The ID of the source store</p>\n</li>\n<li><p>DestinationStoreId (string): The ID of the destination store</p>\n</li>\n<li><p>SourcePromotionId (number): The ID of the source promotion</p>\n</li>\n<li><p>DestinationPromotionId (number): The ID of the destination promotion</p>\n</li>\n<li><p>Status (string): The status of the request</p>\n</li>\n<li><p>Comment (string): Additional comments</p>\n</li>\n<li><p>ModifiedDate (string): The date of modification</p>\n</li>\n<li><p>IsScheduledRequest (boolean): Indicates if the request is scheduled</p>\n</li>\n<li><p>ScheduleDateTime (string): The scheduled date and time</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"MigrationId\": \"\",\n  \"SourceStoreId\": \"\",\n  \"DestinationStoreId\": \"\",\n  \"SourcePromotionId\": 0,\n  \"DestinationPromotionId\": null,\n  \"Status\": \"\",\n  \"Comment\": \"\",\n  \"ModifiedDate\": \"\",\n  \"IsScheduledRequest\": true,\n  \"ScheduleDateTime\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","CancelScheduledPromotionUpdateRequest"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"0adfe023-6598-4655-b644-15dfc9b25eb2","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledPromotionUpdateRequest"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"cf7bf1ce-2b15-420d-bae8-18a7411aa03e\",\r\n  \"SourceStoreId\": \"v6qd34g5fd1\",\r\n  \"DestinationStoreId\": \"z6ff45d451\",\r\n  \"SourcePromotionId\": 1,\r\n  \"DestinationPromotionId\": null,\r\n  \"Status\": \"Cancelled\",\r\n  \"Comment\": \"Request is cancelled\",\r\n  \"ModifiedDate\": \"2022-09-24T12:35:55.278496+00:00\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-24T11:00:00\"\r\n}"}],"_postman_id":"5340611e-1b6d-4caa-89dd-59fb82ef6e4d"}],"id":"f9228aa2-cb35-4be9-884c-e8879a425697","description":"<p><strong>Promotion Migration (POST)</strong>:<br />This API updates promotion details from a source BigCommerce store to a destination store. It involves migrating promotion settings and configurations. The request includes details such as the source and destination promotion IDs, and it can also handle scheduling for the migration.</p>\n<p><strong>Get Promotion Migration Status (GET)</strong>:<br />Retrieves the current status of a promotion update request in BigCommerce. It returns details such as the source and destination promotion IDs and the status of the migration (e.g., completed, in progress, or failed).EndFragment</p>\n<p><strong>Cancel Scheduled Promotion Migration Request (POST)</strong>:<br />Cancels a scheduled promotion update request for BigCommerce. The request requires the migration ID and destination store ID to successfully cancel the migration of promotions.</p>\n","_postman_id":"f9228aa2-cb35-4be9-884c-e8879a425697","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Category Migration","item":[{"name":"Get Category Migration Status","id":"3f9e77ed-8023-4a07-af05-3f66bf168870","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcCategoryUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","description":"<h3 id=\"get-category-migration-status\">Get Category Migration Status</h3>\n<p>This endpoint retrieves the status of a Bigc category update based on the provided destination store ID and migration ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>Endpoint: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetBigcCategoryUpdateStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>destinationStoreId</code> (string, required): The ID of the destination store.</p>\n</li>\n<li><p><code>migrationId</code> (string, required): The ID of the migration.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": { \"type\": \"string\" },\n    \"SourceStoreId\": { \"type\": \"string\" },\n    \"DestinationStoreId\": { \"type\": \"string\" },\n    \"SourceProductId\": { \"type\": \"integer\" },\n    \"DestinationProductId\": { \"type\": \"integer\" },\n    \"Status\": { \"type\": \"string\" },\n    \"Comment\": { \"type\": [\"null\", \"string\"] },\n    \"ModifiedDate\": { \"type\": \"string\" },\n    \"IsScheduledRequest\": { \"type\": \"boolean\" },\n    \"ScheduleDateTime\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetBigcCategoryUpdateStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}],"variable":[]}},"response":[{"id":"421eaed1-5caf-4bf3-952e-85b63d7ad344","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcProductUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetBigcProductUpdateStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"9672cc10-00e9-471d-b262-06ef6712ced1\",\r\n  \"SourceStoreId\": \"hd2j3gh4ye\",\r\n  \"DestinationStoreId\": \"fr4k54h1ye\",\r\n  \"SourceProductId\": 21800,\r\n  \"DestinationProductId\": 342,\r\n  \"Status\": \"Success\",\r\n  \"Comment\": null,\r\n  \"ModifiedDate\": \"2022-07-11T12:06:20.84\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"3f9e77ed-8023-4a07-af05-3f66bf168870"},{"name":"Category Migration","id":"af4867ed-e2c0-4f2a-b370-19d510598000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"MigrationId\": \"0c4cdeae-798a-4ee7-80e8-c37332ae81c6\",\r\n    \"CategoryId\": 6240,\r\n    \"DestinationChannelId\": 1,\r\n    \"IsDestinationProduction\": true,\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"yh********rv\",\r\n        \"StoreUrl\": \"https://littman-bros-lig********bigcommerce.com\",\r\n        \"StoreAccessToken\": \"3zh4f6********w2nbtfv22si4i\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"sy********z\",\r\n        \"StoreUrl\": \"https://lighting********ined.com\",\r\n        \"StoreAccessToken\": \"1ekqexdg2********l3votahsg\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null,\r\n    \"SourceChannelId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcCategoryUpdate","description":"<h3 id=\"category-migration\">Category Migration</h3>\n<p>The <code>POST</code> request to <code>/v1/api/BigcFunction/BigcCategoryUpdate</code> endpoint is used to update a bigcommerce category. The request body should contain the <code>MigrationId</code>, <code>CategoryId</code>, <code>DestinationChannelId</code>, <code>IsDestinationProduction</code>, <code>SourceStoreCredentials</code>, <code>DestinationStoreCredentials</code>, <code>IsScheduledRequest</code>, <code>ScheduleDateTime</code>, and <code>SourceChannelId</code>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>MigrationId</code> (string): The unique identifier for the migration.</p>\n</li>\n<li><p><code>CategoryId</code> (integer): The ID of the category to be updated.</p>\n</li>\n<li><p><code>DestinationChannelId</code> (integer): The ID of the destination channel.</p>\n</li>\n<li><p><code>IsDestinationProduction</code> (boolean): Indicates whether the destination is a production environment.</p>\n</li>\n<li><p><code>SourceStoreCredentials</code> (object): The credentials for the source store including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>DestinationStoreCredentials</code> (object): The credentials for the destination store including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean): Indicates if the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (string): The date and time for the scheduled request.</p>\n</li>\n<li><p><code>SourceChannelId</code> (integer): The ID of the source channel.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request will be a JSON object conforming to a specific schema. The schema should be documented to describe the structure and data types of the response fields.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","BigcCategoryUpdate"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"af4867ed-e2c0-4f2a-b370-19d510598000"}],"id":"1af2e903-50d2-4a61-9e17-215b3e4cce13","description":"<p><strong>Category Migration (POST)</strong>:<br />This API updates category details from a source BigCommerce store to a destination store. It involves migrating category data, such as category IDs, names, and associated details. The request can also handle scheduling for the category update.</p>\n<p><strong>Get Category Migration Status (GET)</strong>:<br />Retrieves the status of a category update request in BigCommerce. It returns information about the source and destination category IDs and the current status of the migration, such as whether it is completed or still in progress.</p>\n","_postman_id":"1af2e903-50d2-4a61-9e17-215b3e4cce13","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Theme Migration","item":[{"name":"Theme Migration","id":"07103860-f34b-421a-93cb-6b63918dd836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n    \"MigrationId\": \"b384edae-4be5-4343-91c6-2b9ff9cf7704\",\r\n    \"BigcTheme\": {\r\n        \"ThemeUuid\": \"86910fb0-54a0-013c-5db5-2ec360b8bf3e\",\r\n        \"ThemeName\": \"Current - 102124\",\r\n        \"ActivateInDestination\": false,\r\n        \"ThemeVariationUuid\": \"8719e440-54a0-013c-5db5-2ec360b8bf3e\",\r\n        \"ThemeVariationName\": \"Fashion\",\r\n        \"DestinationChannelId\": 1\r\n    },\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"s******z\",\r\n        \"StoreUrl\": \"\",\r\n        \"StoreAccessToken\": \"1ekqe******vwl3votahsg\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"xz******xm\",\r\n        \"StoreUrl\": \"\",\r\n        \"StoreAccessToken\": \"gzgbm7nu******6u4m9k53kqoy8p4rn\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcTheme/MigrateTheme","description":"<h3 id=\"theme-migration\">Theme Migration</h3>\n<p>This API endpoint allows you to migrate a theme from a source store to a destination store. The HTTP POST request should be made to <a href=\"https://api.stagingpro.com/v1/api/BigcTheme/MigrateTheme\">https://api.stagingpro.com/v1/api/BigcTheme/MigrateTheme</a>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><code>MigrationId</code>: A unique identifier for the migration process.</p>\n</li>\n<li><p><code>BigcTheme</code>: An object containing details of the theme to be migrated, including <code>ThemeUuid</code>, <code>ThemeName</code>, <code>ActivateInDestination</code>, <code>ThemeVariationUuid</code>, <code>ThemeVariationName</code>, and <code>DestinationChannelId</code>.</p>\n</li>\n<li><p><code>SourceStoreCredentials</code>: An object containing the credentials of the source store, including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>DestinationStoreCredentials</code>: An object containing the credentials of the destination store, including <code>StoreId</code>, <code>StoreUrl</code>, <code>StoreAccessToken</code>, <code>Subscription</code>, and <code>ChannelID</code>.</p>\n</li>\n<li><p><code>IsScheduledRequest</code>: A boolean value indicating whether the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code>: The date and time for a scheduled request, if applicable.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><code>Status</code>: Indicates the status of the migration process.</p>\n</li>\n<li><p><code>StatusComment</code>: Provides additional comments or details about the status.</p>\n</li>\n</ul>\n<h3 id=\"json-schema\">JSON Schema</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"Status\": {\"type\": \"string\"},\n    \"StatusComment\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcTheme","MigrateTheme"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"f4fdda02-e95a-4f31-8948-a9e8281877da","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"{{MigrationIdNew}}\",\r\n  \"ProductId\": 1389,\r\n  \"Brand\": true,\r\n  \"Categories\": true,\r\n  \"IsDestinationProduction\": false,\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcTheme/MigrateTheme"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\"\r\n}"}],"_postman_id":"07103860-f34b-421a-93cb-6b63918dd836"},{"name":"Get Theme Migration Status","id":"8920dae6-948a-4db3-a7fb-0b00c5e5209e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcTheme/GetMigrateThemeStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","description":"<h3 id=\"get-theme-migration-status\">Get Theme Migration Status</h3>\n<p>This endpoint retrieves the status of a theme migration process.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://api.stagingpro.com/v1/api/BigcTheme/GetMigrateThemeStatus</code></p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p><code>destinationStoreId</code> (string, required): The ID of the destination store.</p>\n</li>\n<li><p><code>migrationId</code> (string, required): The ID of the migration.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>MigrationId</code> (string): The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string): The ID of the source store.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string): The ID of the destination store.</p>\n</li>\n<li><p><code>SourceThemeUuid</code> (string): The UUID of the source theme.</p>\n</li>\n<li><p><code>DestinationThemeUuid</code> (string): The UUID of the destination theme.</p>\n</li>\n<li><p><code>Status</code> (string): The status of the migration process.</p>\n</li>\n<li><p><code>Comment</code> (string): Any additional comments related to the migration status.</p>\n</li>\n<li><p><code>ModifiedDate</code> (string): The date of the last modification.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean): Indicates if the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (string): The date and time of the scheduled request.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcTheme","GetMigrateThemeStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}],"variable":[]}},"response":[{"id":"a93c140a-44f2-4211-a2d0-d2e0b335a831","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcTheme/GetMigrateThemeStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcTheme","GetMigrateThemeStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"8cb************fa8\",\r\n  \"SourceStoreId\": \"v6*****91\",\r\n  \"DestinationStoreId\": \"6b******1w\",\r\n  \"SourceThemeUuid\": \"8c***********fa8\",\r\n  \"DestinationThemeUuid\": \"q321q1**********1we2\",\r\n  \"Status\": \"Success\",\r\n  \"Comment\": \"Success\",\r\n  \"ModifiedDate\": \"2022-07-11T12:06:20.84\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"8920dae6-948a-4db3-a7fb-0b00c5e5209e"},{"name":"Cancel Scheduled Theme Migration Request","id":"4060a477-8278-473e-9b75-2a8d291b80e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"DestinationStoreId\":\"sfh*******S\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcTheme/CancelScheduledMigrateThemeRequest","description":"<h3 id=\"cancel-scheduled-migration-theme-request\">Cancel Scheduled Migration Theme Request</h3>\n<p>This API endpoint is used to cancel a scheduled migration theme request. The request should be sent as an HTTP POST to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>MigrationId</code> (string) - The ID of the migration to be canceled.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string) - The ID of the destination store.</p>\n</li>\n</ul>\n<p>Example Request Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b4 ...\",\n    \"DestinationStoreId\": \"sfh*******S\"\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the following fields:</p>\n<ul>\n<li><p><code>MigrationId</code> (string) - The ID of the migration.</p>\n</li>\n<li><p><code>SourceStoreId</code> (string) - The ID of the source store.</p>\n</li>\n<li><p><code>DestinationStoreId</code> (string) - The ID of the destination store.</p>\n</li>\n<li><p><code>SourceThemeUuid</code> (string) - The UUID of the source theme.</p>\n</li>\n<li><p><code>DestinationThemeUuid</code> (string, null) - The UUID of the destination theme, if available.</p>\n</li>\n<li><p><code>Status</code> (string) - The status of the migration request.</p>\n</li>\n<li><p><code>Comment</code> (string) - Any additional comments related to the migration.</p>\n</li>\n<li><p><code>ModifiedDate</code> (string) - The date of modification.</p>\n</li>\n<li><p><code>IsScheduledRequest</code> (boolean) - Indicates if the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (string) - The date and time of the scheduled request.</p>\n</li>\n</ul>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"MigrationId\": \"\",\n    \"SourceStoreId\": \"\",\n    \"DestinationStoreId\": \"\",\n    \"SourceThemeUuid\": \"\",\n    \"DestinationThemeUuid\": null,\n    \"Status\": \"\",\n    \"Comment\": \"\",\n    \"ModifiedDate\": \"\",\n    \"IsScheduledRequest\": true,\n    \"ScheduleDateTime\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcTheme","CancelScheduledMigrateThemeRequest"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"e14d96b6-c2be-4db6-82ea-d78daee3509e","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcTheme/CancelScheduledMigrateThemeRequest"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"8cb************fa8\",\r\n  \"SourceStoreId\": \"v6*****91\",\r\n  \"DestinationStoreId\": \"6b******1w\",\r\n  \"SourceThemeUuid\": \"8c***********fa8\",\r\n  \"DestinationThemeUuid\": null,\r\n  \"Status\": \"Cancelled\",\r\n  \"Comment\": \"Request is cancelled\",\r\n  \"ModifiedDate\": \"2022-11-10T11:32:48.925017+00:00\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-11-20T18:00:00\"\r\n}"}],"_postman_id":"4060a477-8278-473e-9b75-2a8d291b80e9"}],"id":"7439c52f-f195-4a6d-b4ad-8069ddfd9665","description":"<p><strong>Theme Migration (POST)</strong>:<br />This API migrates a theme from a source BigCommerce store to a destination store. It transfers theme details such as the theme UUID, name, and other associated settings. You can also specify whether the migrated theme should be activated on the destination store.</p>\n<p><strong>Get Theme Migration Status (GET)</strong>:<br />Retrieves the status of a theme migration in BigCommerce. It provides details about the theme's migration progress, source and destination theme IDs, and the current status, such as whether the migration is completed or still in progress.</p>\n<p><strong>Cancel Scheduled Theme Migration Request (POST)</strong>:<br />Cancels a scheduled theme migration request. This requires the migration ID and destination store ID to cancel the process of migrating a theme between stores.</p>\n","_postman_id":"7439c52f-f195-4a6d-b4ad-8069ddfd9665","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}},{"name":"Page / Template Migration","item":[{"name":"Page / Template Migration","id":"9f44b29c-218f-4987-8477-c891e81fb167","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n    \"SourceChannelId\": 1,\r\n    \"MigrationId\": \"db748634-e7b9-4b19-bb8b-72d19862faca\",\r\n    \"PageId\": 7,\r\n    \"DestinationChannelId\": 1,\r\n    \"IsDestinationProduction\": true,\r\n    \"SourceStoreCredentials\": {\r\n        \"StoreId\": \"yh8*****5qrv\",\r\n        \"StoreUrl\": \"https://l*****************ting-sandbox.mybigcommerce.com\",\r\n        \"StoreAccessToken\": \"3zh4f6eu*****w2nbtfv22si4i\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"DestinationStoreCredentials\": {\r\n        \"StoreId\": \"syn*****asxz\",\r\n        \"StoreUrl\": \"https://light*****magined.com\",\r\n        \"StoreAccessToken\": \"1ekqexd*****kdvwl3votahsg\",\r\n        \"Subscription\": false,\r\n        \"ChannelID\": 1\r\n    },\r\n    \"IsScheduledRequest\": false,\r\n    \"ScheduleDateTime\": null,\r\n    \"template_file\": null,\r\n    \"IsGlobal\": true\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcPageUpdate","description":"<h3 id=\"pages--template-migration-post\">Pages / Template Migration (POST)</h3>\n<p>This API endpoint is used to migrate pages from a source BigCommerce store to a destination store. It transfers page content, templates, and associated settings to the destination store, ensuring the same structure and design are maintained.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>SourceChannelId</code> (Number): The ID of the source channel.</p>\n</li>\n<li><p><code>MigrationId</code> (String): The unique identifier for the migration.</p>\n</li>\n<li><p><code>PageId</code> (Number): The ID of the page to be migrated.</p>\n</li>\n<li><p><code>DestinationChannelId</code> (Number): The ID of the destination channel.</p>\n</li>\n<li><p><code>IsDestinationProduction</code> (Boolean): Indicates if the destination is a production environment.</p>\n</li>\n<li><p><code>SourceStoreCredentials</code> (Object):</p>\n<ul>\n<li><p><code>StoreId</code> (String): The ID of the source store.</p>\n</li>\n<li><p><code>StoreUrl</code> (String): The URL of the source store.</p>\n</li>\n<li><p><code>StoreAccessToken</code> (String): The access token for the source store.</p>\n</li>\n<li><p><code>Subscription</code> (Boolean): Indicates if the source store has a subscription.</p>\n</li>\n<li><p><code>ChannelID</code> (Number): The ID of the channel for the source store.</p>\n</li>\n</ul>\n</li>\n<li><p><code>DestinationStoreCredentials</code> (Object):</p>\n<ul>\n<li><p><code>StoreId</code> (String): The ID of the destination store.</p>\n</li>\n<li><p><code>StoreUrl</code> (String): The URL of the destination store.</p>\n</li>\n<li><p><code>StoreAccessToken</code> (String): The access token for the destination store.</p>\n</li>\n<li><p><code>Subscription</code> (Boolean): Indicates if the destination store has a subscription.</p>\n</li>\n<li><p><code>ChannelID</code> (Number): The ID of the channel for the destination store.</p>\n</li>\n</ul>\n</li>\n<li><p><code>IsScheduledRequest</code> (Boolean): Indicates if the request is scheduled.</p>\n</li>\n<li><p><code>ScheduleDateTime</code> (String): The date and time of the scheduled request.</p>\n</li>\n<li><p><code>template_file</code> (null): The template file for the migration.</p>\n</li>\n<li><p><code>IsGlobal</code> (Boolean): Indicates if the migration is global.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Status\": \"\",\n  \"StatusComment\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","BigcPageUpdate"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"c634cabd-8fa8-421a-9f67-f79fc2bf197d","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"{{MigrationIdNew}}\",\r\n  \"ProductId\": 1389,\r\n  \"Brand\": true,\r\n  \"Categories\": true,\r\n  \"IsDestinationProduction\": false,\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/BigcProductUpdate"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"Status\": \"Success\",\r\n  \"StatusComment\": \"Success\"\r\n}"}],"_postman_id":"9f44b29c-218f-4987-8477-c891e81fb167"},{"name":"Get Page / Template Migration Status","id":"2e1a5721-e3aa-4e26-aaec-54f5ee7465d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcPageUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","description":"<h3 id=\"get-page--template-migration-status-get\">Get Page / Template Migration Status (GET)</h3>\n<p>Retrieves the current status of a pages update migration in BigCommerce. It returns details about the source and destination page IDs and the progress of the migration (e.g., completed, in progress, or failed).</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>URL: <code>https://api.stagingpro.com/v1/api/BigcFunction/GetBigcPageUpdateStatus</code></p>\n</li>\n<li><p>Method: GET</p>\n</li>\n<li><p>Query Parameters:</p>\n<ul>\n<li><p>destinationStoreId (string)</p>\n</li>\n<li><p>migrationId (string)</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"MigrationId\": \"string\",\n  \"SourceStoreId\": \"string\",\n  \"DestinationStoreId\": \"string\",\n  \"SourceProductId\": 0,\n  \"DestinationProductId\": 0,\n  \"Status\": \"string\",\n  \"Comment\": \"string or null\",\n  \"ModifiedDate\": \"string\",\n  \"IsScheduledRequest\": true,\n  \"ScheduleDateTime\": \"string\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","GetBigcPageUpdateStatus"],"host":["api","stagingpro","com"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}],"variable":[]}},"response":[{"id":"3f16c0cb-8b37-4478-a4f1-eaf838c48508","name":"Response_200","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"url":{"raw":"https://api.stagingpro.com/v1/api/BigcFunction/GetBigcProductUpdateStatus?destinationStoreId=fr4k54h1ye&migrationId=706DCEB7-273E-407F-A588-81598602E77E","protocol":"https","host":["api","stagingpro","com"],"path":["v1","api","BigcFunction","GetBigcProductUpdateStatus"],"query":[{"key":"destinationStoreId","value":"fr4k54h1ye"},{"key":"migrationId","value":"706DCEB7-273E-407F-A588-81598602E77E"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"9672cc10-00e9-471d-b262-06ef6712ced1\",\r\n  \"SourceStoreId\": \"hd2j3gh4ye\",\r\n  \"DestinationStoreId\": \"fr4k54h1ye\",\r\n  \"SourceProductId\": 21800,\r\n  \"DestinationProductId\": 342,\r\n  \"Status\": \"Success\",\r\n  \"Comment\": null,\r\n  \"ModifiedDate\": \"2022-07-11T12:06:20.84\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"2e1a5721-e3aa-4e26-aaec-54f5ee7465d5"},{"name":"Cancel Scheduled Page Migration Request","id":"18f08fef-3a76-438b-b69b-71623ed80063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"DestinationStoreId\":\"**dsfd***\"\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledPageUpdateRequest","description":"<h3 id=\"cancel-scheduled-pages--template-request-post\">Cancel Scheduled Pages / Template Request (POST)</h3>\n<p>Cancels a scheduled pages update request for BigCommerce. The request requires the migration ID and destination store ID to cancel the scheduled migration of page data.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p>Raw (application/json)</p>\n<ul>\n<li><p>MigrationId (string): The ID of the migration.</p>\n</li>\n<li><p>DestinationStoreId (string): The ID of the destination store.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request can be documented as a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"MigrationId\": {\"type\": \"string\"},\n    \"SourceStoreId\": {\"type\": \"string\"},\n    \"DestinationStoreId\": {\"type\": \"string\"},\n    \"SourceProductId\": {\"type\": \"integer\"},\n    \"DestinationProductId\": {\"type\": [\"integer\", \"null\"]},\n    \"Status\": {\"type\": \"string\"},\n    \"Comment\": {\"type\": \"string\"},\n    \"ModifiedDate\": {\"type\": \"string\"},\n    \"IsScheduledRequest\": {\"type\": \"boolean\"},\n    \"ScheduleDateTime\": {\"type\": \"string\"}\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["v1","api","BigcFunction","CancelScheduledPageUpdateRequest"],"host":["api","stagingpro","com"],"query":[],"variable":[]}},"response":[{"id":"7ad80e8b-ce7c-4e8f-b9b3-e289eddaecec","name":"Response_200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\r\n  \"MigrationId\": \"40cb5644-8834-4961-84b3-aae1b40e0e9a\",\r\n  \"RemoveExistingDataInDestination\": true,\r\n  \"MigrateEntities\": [\r\n    \"Brands\",\r\n    \"Categories\",\r\n    \"Products\",\r\n    \"Channels\",\r\n    \"Orders\"\r\n  ],\r\n  \"AnonymiseCustomerData\": false,\r\n  \"OrderStatuses\": [\r\n    \"Pending\"\r\n  ],\r\n  \"Channels\": [\r\n    \"Live-1-StagingPro (bigcomeerce)\",\r\n    \"Store-2 (bigcommerce)\"\r\n  ],\r\n  \"SourceStore\": {\r\n    \"StoreId\": \"hd2j3gh4ye\"\r\n  },\r\n  \"DestinationStore\": {\r\n    \"StoreId\": \"fr4k54h1ye\"\r\n  }\r\n}"},"url":"https://api.stagingpro.com/v1/api/BigcFunction/CancelScheduledProductUpdateRequest"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"MigrationId\": \"79b64a04-f686-420e-98be-fd8cdfa2a1a4\",\r\n  \"SourceStoreId\": \"v6e2r42e391\",\r\n  \"DestinationStoreId\": \"nw6w3ed4jl1\",\r\n  \"SourceProductId\": 8847,\r\n  \"DestinationProductId\": null,\r\n  \"Status\": \"Cancelled\",\r\n  \"Comment\": \"Request is cancelled\",\r\n  \"ModifiedDate\": \"2022-09-12T16:27:29.5126573+00:00\",\r\n  \"IsScheduledRequest\": true,\r\n  \"ScheduleDateTime\": \"2022-09-14T14:30:00\"\r\n}"}],"_postman_id":"18f08fef-3a76-438b-b69b-71623ed80063"}],"id":"40b68a67-7792-4f11-a347-4ac90159c214","description":"<p><strong>Pages / Template Migration (POST)</strong>:<br />This API migrates pages from a source BigCommerce store to a destination store. It transfers page content, templates, and associated settings to the destination store, ensuring the same structure and design are maintained.</p>\n<p><strong>Get Pages / Template Status (GET)</strong>:<br />Retrieves the current status of a pages update migration in BigCommerce. It returns details about the source and destination page IDs and the progress of the migration (e.g., completed, in progress, or failed).</p>\n<p><strong>Cancel Scheduled Pages / Template Request (POST)</strong>:<br />Cancels a scheduled pages update request for BigCommerce. The request requires the migration ID and destination store ID to cancel the scheduled migration of page data.</p>\n","_postman_id":"40b68a67-7792-4f11-a347-4ac90159c214","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]},"isInherited":true,"source":{"_postman_id":"ff9b5483-6175-4820-8b01-decb508889f7","id":"ff9b5483-6175-4820-8b01-decb508889f7","name":"StagingPro API  -  Documentation","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"scope","value":"<scope>"}]}}}