How to update a SKU via the API

Good evening!

I’m trying to update an item’s SKU via the API. When I make my request, the response indicates that the SKU has changed, and Veeqo’s web interface shows the new SKU. However, the item doesn’t show up if I search for the new SKU via the web interface or send a /products request using the new value as a query. I can find the product via the old SKU. It seems when I update my SKU via the API, Veeqo’s search engine doesn’t catch on that it changed. If I update it via the web interface, though, everything works well.

I’ll attach my requests below. Do you have any suggestions? Much appreciated,

Jadon

PUT request to /products/218264265

{
    "product": {
        "title": "Title",
        "notes": "Notes",
        "product_variants_attributes": [
            {
                "id": 437473303,
                "sku_code": "C000000S015D050724I071",
                "upc_code": "C000000S015D050724I071",
                "cost_price": 0,
                "measurement_attributes": {
                    "width": 0,
                    "height": 0,
                    "depth": 0,
                    "dimensions_unit": "inches"
                },
                "weight_grams": 0
            }
        ],
        "description": ""
    }
}

Response:

{
    "id": 218264265,
    "title": "Title",
    "created_by_id": 54770,
    "created_at": "2025-08-19T20:42:18.520Z",
    "weight": 0,
    "origin_country": "US",
    "deleted_at": null,
    "deleted_by_id": null,
    "hs_tariff_number": null,
    "notes": "Notes",
    "product_tax_rate_id": null,
    "tax_rate": 0,
    "updated_at": "2025-08-19T20:43:50.949Z",
    "updated_by_id": 54770,
    "web_meta_description": "",
    "web_meta_keywords": "",
    "web_meta_title": "",
    "web_page_title": "",
    "web_page_url": "",
    "estimated_delivery": null,
    "requires_review": false,
    "hazmat": false,
    "main_image": null,
    "brand": null,
    "sellables": [
        {
            "requires_review": false,
            "allocated_stock_level_at_all_warehouses": 0,
            "id": 437473303,
            "type": "ProductVariant",
            "title": "",
            "sku_code": "C000000S015D050724I071",
            "upc_code": "C000000S015D050724I071",
            "model_number": "",
            "price": 0,
            "cost_price": 0,
            "min_reorder_level": 0,
            "quantity_to_reorder": 0,
            "created_by_id": 54770,
            "created_at": "2025-08-19T20:42:18.525Z",
            "updated_at": "2025-08-19T22:57:05.799Z",
            "deleted_at": null,
            "weight_grams": 0,
            "weight_unit": "oz",
            "product_title": "Title",
            "full_title": "Title",
            "sellable_title": "",
            "profit": 0,
            "margin": 0,
            "tax_rate": 0,
            "estimated_delivery": null,
            "origin_country": null,
            "hs_tariff_number": null,
            "supplementary_units": 0,
            "customs_description": null,
            "hazmat": null,
            "image_url": null,
            "product": {
                "id": 218264265,
                "title": "Title",
                "weight": 0,
                "origin_country": "US",
                "hs_tariff_number": null,
                "tax_rate": 0,
                "estimated_delivery": null,
                "deleted_at": null,
                "deleted_by_id": null,
                "description": "",
                "main_image_src": null
            },
            "reorders": [],
            "stock_entries": [
                {
                    "sellable_id": 437473303,
                    "warehouse_id": 58041,
                    "infinite": false,
                    "allocated_stock_level": 0,
                    "stock_running_low": false,
                    "updated_at": "2025-08-19T22:56:54.362Z",
                    "incoming_stock_level": 0,
                    "transit_outgoing_stock_level": 0,
                    "warehouse": {
                        "id": 58041,
                        "name": "MIS St. Joe Warehouse",
                        "display_position": 9999
                    },
                    "physical_stock_level": 1,
                    "available_stock_level": 1,
                    "sellable_on_hand_value": 0,
                    "transit_incoming_stock_level": 0,
                    "location": null
                }
            ],
            "variant_option_specifics": [],
            "variant_property_specifics": [],
            "images": [],
            "measurement_attributes": {
                "id": 446817437,
                "width": 0,
                "height": 0,
                "depth": 0,
                "dimensions_unit": "inches"
            },
            "main_thumbnail_url": null,
            "available_stock_level_at_all_warehouses": 1,
            "stock_level_at_all_warehouses": 1,
            "inventory": {
                "infinite": false,
                "physical_stock_level_at_all_warehouses": 1,
                "allocated_stock_level_at_all_warehouses": 0,
                "available_stock_level_at_all_warehouses": 1,
                "incoming_stock_level_at_all_warehouses": 0,
                "transit_outgoing_stock_level_at_all_warehouses": 0,
                "transit_incoming_stock_level_at_all_warehouses": 0
            },
            "weight": 0,
            "active_channels": [],
            "channel_sellables": [],
            "total_quantity_sold": 0,
            "on_hand_value": 0
        }
    ],
    "channel_products": [],
    "active_channels": [],
    "tags": [],
    "total_quantity_sold": 0,
    "image": null,
    "thumbnail_url": null,
    "description": "",
    "on_hand_value": 0,
    "main_image_src": null,
    "total_allocated_stock_level": 0,
    "total_available_stock_level": 1,
    "total_stock_level": 1,
    "inventory": {
        "infinite": false
    }
}

Hey @JadonM,

I took a look through your request and there doesn’t seem to be anything incorrect with the payload you have passed through. Out of interest, does it happen for other products or just this SKU?

If you are still having this issue this issue, our support team will need to investigate further in order to find a solution for you. You can contact Veeqo Support via the support messenger in the Veeqo app or contacting helpme@support.veeqo.com

Hope this helps,
Alex - Veeqo

Thanks for checking into it! It happens with all products, even those not synced to any store listings.

At this point, I’m thinking it’s a bug with Veeqo, so I’m contacting the support team; they’re always really helpful!

Thanks!

1 Like