Skip to content

Instantly share code, notes, and snippets.

@indiejoseph
Created October 19, 2021 15:50
Show Gist options
  • Save indiejoseph/2f2d8fc2e791f2f2b61fc11a8f1c6b1e to your computer and use it in GitHub Desktop.
Save indiejoseph/2f2d8fc2e791f2f2b61fc11a8f1c6b1e to your computer and use it in GitHub Desktop.
WMS upload sequence
api:product currSessionID: 31b6a286-fdfb-41bd-8046-c690aeb360e7c1afee23-f160- +0ms
api:product currSessionID: 6142c5bc-3b9f-4af3-88cf-c4d01065efee995ebea8-b8e8- +12ms
api:product currSessionID: 2dc8921c-414a-409a-a111-7663a8cd98bf53a5133f-5ec2- +10ms
api:product isNewProduct true +524ms
(node:2474865) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
api:product isNewProduct true +22ms
api:product isNewProduct true +151ms
api:product shopifyProduct: {
api:product id: 7412675412142,
api:product title: 'Ralph Lauren Long Sleeve Polo 5T',
api:product body_html: '<br><p><strong>Condition</strong></p><p>Gently Used: Noticeable signs of wear and pilling/fading on fabric</p><br><p><strong>Material</strong></p><p>Cotton: 100%</p><br><p><strong>Authenticity 100% Guaranteed</strong></p>',
api:product vendor: 'Ralph Lauren',
api:product product_type: 'Long Sleeve Polos',
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product handle: 'ralph-lauren-kids-girls-long-sleeve-polo-10109721',
api:product updated_at: '2021-10-19T23:48:29+08:00',
api:product published_at: '2021-10-19T23:48:22+08:00',
api:product template_suffix: null,
api:product status: 'active',
api:product published_scope: 'web',
api:product tags: 'Batch_5695, Brand_Ralph-Lauren, Category_Tops, Collection_Fall/Winter, Colour_Pink, Condition_Gently-Used, EW2483, gender-girl, Material_Cotton, Size_5T, Subcategory_Long-Sleeve-Polos',
api:product admin_graphql_api_id: 'gid://shopify/Product/7412675412142',
api:product variants: [
api:product {
api:product id: 41548726632622,
api:product product_id: 7412675412142,
api:product title: '5T',
api:product price: '90.00',
api:product sku: '10109712',
api:product position: 1,
api:product inventory_policy: 'deny',
api:product compare_at_price: '590.00',
api:product fulfillment_service: 'manual',
api:product inventory_management: 'shopify',
api:product option1: '5T',
api:product option2: null,
api:product option3: null,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product taxable: true,
api:product barcode: '10109712.5T',
api:product grams: 0,
api:product image_id: null,
api:product weight: 0,
api:product weight_unit: 'kg',
api:product inventory_item_id: 43645624156334,
api:product inventory_quantity: 1,
api:product old_inventory_quantity: 1,
api:product requires_shipping: true,
api:product admin_graphql_api_id: 'gid://shopify/ProductVariant/41548726632622'
api:product }
api:product ],
api:product options: [
api:product {
api:product id: 9346413232302,
api:product product_id: 7412675412142,
api:product name: 'Title',
api:product position: 1,
api:product values: [Array]
api:product }
api:product ],
api:product images: [
api:product {
api:product id: 30429693903022,
api:product product_id: 7412675412142,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002266-4225.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429693903022'
api:product },
api:product {
api:product id: 30429693968558,
api:product product_id: 7412675412142,
api:product position: 2,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002270-4226.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429693968558'
api:product }
api:product ],
api:product image: {
api:product id: 30429693903022,
api:product product_id: 7412675412142,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002266-4225.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429693903022'
api:product }
api:product } +8s
api:product wms item: {
api:product owner_code: 'RETYHK',
api:product fileCreatedOn: '2021-10-19T00:00:00+08:00',
api:product warehouse_code: 'RETYHK',
api:product version: '1.0',
api:product barcode_2: 'TEST_10109712',
api:product sku_code: 'TEST_10109712.5T',
api:product barcode: 'TEST_41548726632622',
api:product sku_name_en: 'Ralph Lauren Long Sleeve Polo 5T',
api:product image_link: 'https://retykle-prod.s3.amazonaws.com/images/sku-group/1620793002266-4225.jpg',
api:product user_defined_1: 'Ralph Lauren',
api:product size: '5T',
api:product season: 'Fall/Winter',
api:product style: 'Tops',
api:product category: 'R',
api:product price: '90.00',
api:product currency: 'HKD',
api:product sendID: 'EW2483',
api:product user_defined_2: 'Long Sleeve Polos',
api:product user_defined_3: 'girl',
api:product user_defined_4: 'Gently Used: Noticeable signs of wear and pilling/fading on fabric',
api:product user_defined_5: 'N/A',
api:product user_defined_6: 'Elsa Wong',
api:product user_defined_7: '[email protected]',
api:product user_defined_8: 'N/A',
api:product user_defined_9: 'N/A',
api:product user_defined_10: 'N/A',
api:product user_defined_15: 'https://retykle.com/products/ralph-lauren-kids-girls-long-sleeve-polo-10109721'
api:product } +3ms
api:product wms status: true +0ms
api:product shopifyProduct: {
api:product id: 7412675477678,
api:product title: 'Adidas Sandals 6T (EU31)',
api:product body_html: 'test',
api:product vendor: 'Adidas',
api:product product_type: 'Sandals',
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product handle: 'adidas-kids-girls-sandals-10109725',
api:product updated_at: '2021-10-19T23:48:29+08:00',
api:product published_at: '2021-10-19T23:48:22+08:00',
api:product template_suffix: null,
api:product status: 'active',
api:product published_scope: 'web',
api:product tags: 'Batch_5695, Brand_Adidas, Category_Shoes, Collection_Spring/Summer, Colour_Pink, Condition_Gently-Used, EW2483, gender-girl, Shoes_EU31 / US13-13.5 / UK12-12.5, Size_6T, Subcategory_Sandals',
api:product admin_graphql_api_id: 'gid://shopify/Product/7412675477678',
api:product variants: [
api:product {
api:product id: 41548726698158,
api:product product_id: 7412675477678,
api:product title: 'EU31',
api:product price: '50.00',
api:product sku: '10109714',
api:product position: 1,
api:product inventory_policy: 'deny',
api:product compare_at_price: '250.00',
api:product fulfillment_service: 'manual',
api:product inventory_management: 'shopify',
api:product option1: 'EU31',
api:product option2: null,
api:product option3: null,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product taxable: true,
api:product barcode: '10109714.EU31',
api:product grams: 0,
api:product image_id: null,
api:product weight: 0,
api:product weight_unit: 'kg',
api:product inventory_item_id: 43645624221870,
api:product inventory_quantity: 1,
api:product old_inventory_quantity: 1,
api:product requires_shipping: true,
api:product admin_graphql_api_id: 'gid://shopify/ProductVariant/41548726698158'
api:product }
api:product ],
api:product options: [
api:product {
api:product id: 9346413297838,
api:product product_id: 7412675477678,
api:product name: 'Title',
api:product position: 1,
api:product values: [Array]
api:product }
api:product ],
api:product images: [
api:product {
api:product id: 30429694034094,
api:product product_id: 7412675477678,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002302-4229_42c3d2ca-9e94-43f3-9bd3-5a2d267e282b.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429694034094'
api:product },
api:product {
api:product id: 30429694066862,
api:product product_id: 7412675477678,
api:product position: 2,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002311-4230_89d177f7-0e3d-4413-8e9c-c8c2d0207b64.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429694066862'
api:product }
api:product ],
api:product image: {
api:product id: 30429694034094,
api:product product_id: 7412675477678,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002302-4229_42c3d2ca-9e94-43f3-9bd3-5a2d267e282b.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429694034094'
api:product }
api:product } +5ms
api:product wms item: {
api:product owner_code: 'RETYHK',
api:product fileCreatedOn: '2021-10-19T00:00:00+08:00',
api:product warehouse_code: 'RETYHK',
api:product version: '1.0',
api:product barcode_2: 'TEST_10109714',
api:product sku_code: 'TEST_10109714.EU31',
api:product barcode: 'TEST_41548726698158',
api:product sku_name_en: 'Adidas Sandals 6T (EU31)',
api:product image_link: 'https://retykle-prod.s3.amazonaws.com/images/sku-group/1620793002302-4229.jpg',
api:product user_defined_1: 'Adidas',
api:product size: 'EU31',
api:product season: 'Spring/Summer',
api:product style: 'Shoes',
api:product category: 'R',
api:product price: '50.00',
api:product currency: 'HKD',
api:product sendID: 'EW2483',
api:product user_defined_2: 'Sandals',
api:product user_defined_3: 'girl',
api:product user_defined_4: 'Gently Used: Noticeable marks/discoloration on the straps and bottom edges',
api:product user_defined_5: 'N/A',
api:product user_defined_6: 'Elsa Wong',
api:product user_defined_7: '[email protected]',
api:product user_defined_8: 'N/A',
api:product user_defined_9: 'N/A',
api:product user_defined_10: 'N/A',
api:product user_defined_15: 'https://retykle.com/products/adidas-kids-girls-sandals-10109725'
api:product } +1ms
api:product wms status: true +1ms
api:product shopifyProduct: {
api:product id: 7412675379374,
api:product title: 'Chickeeduck Short Sleeve Top 10Y (140cm)',
api:product body_html: '<br><p><strong>Condition</strong></p><p>Gently Used: Some signs of wear and pilling on fabric, Small spot mark on the front</p><br><p><strong>Material</strong></p><p>Cotton: 95%, Spandex: 5%</p><br><p><strong>Authenticity 100% Guaranteed</strong></p>',
api:product vendor: 'Chickeeduck',
api:product product_type: 'Short Sleeve Tops',
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product handle: 'chickeeduck-kids-girls-short-sleeve-top-10109720',
api:product updated_at: '2021-10-19T23:48:29+08:00',
api:product published_at: '2021-10-19T23:48:22+08:00',
api:product template_suffix: null,
api:product status: 'active',
api:product published_scope: 'web',
api:product tags: 'Batch_5695, Brand_Chickeeduck, Category_Tops, Collection_Spring/Summer, Colour_Pink, Condition_Gently-Used, EW2483, gender-girl, Material_Cotton, Material_Spandex, Size_10Y, Subcategory_Short-Sleeve-Tops',
api:product admin_graphql_api_id: 'gid://shopify/Product/7412675379374',
api:product variants: [
api:product {
api:product id: 41548726665390,
api:product product_id: 7412675379374,
api:product title: '10Y',
api:product price: '50.00',
api:product sku: '10109711',
api:product position: 1,
api:product inventory_policy: 'deny',
api:product compare_at_price: '320.00',
api:product fulfillment_service: 'manual',
api:product inventory_management: 'shopify',
api:product option1: '10Y',
api:product option2: null,
api:product option3: null,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product taxable: true,
api:product barcode: '10109711.10Y',
api:product grams: 0,
api:product image_id: null,
api:product weight: 0,
api:product weight_unit: 'kg',
api:product inventory_item_id: 43645624189102,
api:product inventory_quantity: 1,
api:product old_inventory_quantity: 1,
api:product requires_shipping: true,
api:product admin_graphql_api_id: 'gid://shopify/ProductVariant/41548726665390'
api:product }
api:product ],
api:product options: [
api:product {
api:product id: 9346413199534,
api:product product_id: 7412675379374,
api:product name: 'Title',
api:product position: 1,
api:product values: [Array]
api:product }
api:product ],
api:product images: [
api:product {
api:product id: 30429693935790,
api:product product_id: 7412675379374,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002218-4223.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429693935790'
api:product },
api:product {
api:product id: 30429694001326,
api:product product_id: 7412675379374,
api:product position: 2,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002259-4224.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429694001326'
api:product }
api:product ],
api:product image: {
api:product id: 30429693935790,
api:product product_id: 7412675379374,
api:product position: 1,
api:product created_at: '2021-10-19T23:48:28+08:00',
api:product updated_at: '2021-10-19T23:48:28+08:00',
api:product alt: null,
api:product width: 1333,
api:product height: 2000,
api:product src: 'https://cdn.shopify.com/s/files/1/0589/3865/4894/products/1620793002218-4223.jpg?v=1634658508',
api:product variant_ids: [],
api:product admin_graphql_api_id: 'gid://shopify/ProductImage/30429693935790'
api:product }
api:product } +2ms
api:product wms item: {
api:product owner_code: 'RETYHK',
api:product fileCreatedOn: '2021-10-19T00:00:00+08:00',
api:product warehouse_code: 'RETYHK',
api:product version: '1.0',
api:product barcode_2: 'TEST_10109711',
api:product sku_code: 'TEST_10109711.10Y',
api:product barcode: 'TEST_41548726665390',
api:product sku_name_en: 'Chickeeduck Short Sleeve Top 10Y (140cm)',
api:product image_link: 'https://retykle-prod.s3.amazonaws.com/images/sku-group/1620793002218-4223.jpg',
api:product user_defined_1: 'Chickeeduck',
api:product size: '10Y',
api:product season: 'Spring/Summer',
api:product style: 'Tops',
api:product category: 'R',
api:product price: '50.00',
api:product currency: 'HKD',
api:product sendID: 'EW2483',
api:product user_defined_2: 'Short Sleeve Tops',
api:product user_defined_3: 'girl',
api:product user_defined_4: 'Gently Used: Some signs of wear and pilling on fabric, Small spot mark on the front',
api:product user_defined_5: 'N/A',
api:product user_defined_6: 'Elsa Wong',
api:product user_defined_7: '[email protected]',
api:product user_defined_8: 'N/A',
api:product user_defined_9: 'N/A',
api:product user_defined_10: 'N/A',
api:product user_defined_15: 'https://retykle.com/products/chickeeduck-kids-girls-short-sleeve-top-10109720'
api:product } +1ms
api:product wms status: true +0ms
api:product wmsCreateItemResponse: { status: '200', result: 'Success create item master.' } +159ms
api:product wmsCreateItemResponse: { status: '200', result: 'Success create item master.' } +9ms
api:product wmsCreateItemResponse: { status: '200', result: 'Success create item master.' } +123ms
api:batch controller productVariants.length 3 +0ms
api:batch controller wmsItemsStatus.length 3 +0ms
api:batch controller shouldCreatePo true +0ms
api:batch controller currSessionID: 4a8baabb-d635-407a-98fb-ce9d4118bd8881cf38fc-fb64- +346ms
api:batch controller asnPoItem: {
api:batch controller owner_code: 'RETYHK',
api:batch controller fileCreatedOn: '2021-10-19T00:00:00+08:00',
api:batch controller sendID: 'EW2483',
api:batch controller warehouse_code: 'RETYHK',
api:batch controller order_type: 'PO',
api:batch controller version: '1.0',
api:batch controller order_number: 'TEST_5695',
api:batch controller platform_order_number: 'TEST_5695',
api:batch controller expected_arrive_date: '2021-10-19T00:00:00+08:00',
api:batch controller details: [
api:batch controller {
api:batch controller sku_code: 'TEST_10109714.EU31',
api:batch controller line_seq: '1',
api:batch controller expected_qty: '1'
api:batch controller },
api:batch controller { sku_code: 'TEST_10109712.5T', line_seq: '2', expected_qty: '1' },
api:batch controller { sku_code: 'TEST_10109711.10Y', line_seq: '3', expected_qty: '1' }
api:batch controller ]
api:batch controller } +0ms
api:batch controller wmsCreatePurchaseOrder { status: '200', result: 'Success create PO.' } +150ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment