Home Forums WoodMart support forum JSON response (xts blocks)

JSON response (xts blocks)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #660557

    SZenko
    Participant

    Hello,

    I’m currently integrating products into WooCommerce via the REST API, using the Woodmart theme (with a child theme). While inspecting the REST API response from products — including demo products provided with the theme — I noticed the following meta_data entry being returned within JSON:

    {
      "id": 16582,
      "key": "xts-blocks-XXXX-status",  // XXXX = product post ID
      "value": "invalid"
    }

    I have a few questions regarding this:

    Is this xts-blocks-XXXX-status meta key added by Woodmart by default?

    What exactly does the “invalid” value indicate?

    Are these entries required for any Woodmart-specific functionality? Or is it normal that they appear in the response with this status?

    Example from REST response for product ID 58:

    {
      "id": 12666,
      "key": "xts-blocks-58-status",
      "value": "invalid"
    }

    Thank you for your explanation.

    #660595

    Luke Nielsen
    Keymaster

    Hello,

    Everything is okay and it should work in such a way, so do not worry.

    If you have any additional questions, let me know.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)