/store-products-patch-one¶
Summary¶
Source repository:
jef-systems/jef-store-backendSource SHA:
8268dc359b63dc3e4d3c8fbcf5f91c0628e40da2Source run id:
28375649454Lambda function:
jef-store-products-patch-oneHTTP method:
PATCHAPI path:
/store-products-patch-oneEndpoint URL:
https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-products-patch-onePayload mode:
json-body
Description¶
|
jef-store-products-patch-one Logical ID: jef-store:jef-store-products:patch-one Order Number: 004 |
|
jef-store |
|
patch-one |
|
PATCH |
|
SYNCHRONOUS |
|
/store-products-patch-one Endpoint Name: jef-store-products-patch-one |
|
jef-store-products |
|
product_number |
API Gateway Response¶
|
Lambda proxy statusCode |
|
Lambda response reflects commit success or failure. |
Payload Example¶
|
7a458751-a30f-40b5-91d2-bb76db1556f5 |
|
60e961b5-b4e6-4214-abb7-9266cf42e133 |
Payload Schema¶
{
"type": "object",
"additionalProperties": "False",
"payload_mode": "parent-plus-children-wrapper",
"allow_children_wrapper": "True",
"children_wrapper_field": "children",
"allow_batch": "False",
"table": "jef-store-products",
"primary_key": "product_number",
"required[0]": "product_number",
"properties.product_number.field": "product_number",
"properties.product_number.type": "S",
"properties.product_number.required": "False",
"properties.product_number.source_required": "True",
"properties.product_number.server_generated": "True",
"properties.product_number.autogenerated": "False",
"properties.product_number.frontend_autocomputed": "False",
"properties.product_number.format": "uuidv4",
"properties.product_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.entity_number.field": "entity_number",
"properties.entity_number.type": "S",
"properties.entity_number.required": "True",
"properties.entity_number.source_required": "True",
"properties.entity_number.server_generated": "True",
"properties.entity_number.autogenerated": "False",
"properties.entity_number.frontend_autocomputed": "False",
"properties.entity_number.format": "uuidv4",
"properties.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.sku.field": "sku",
"properties.sku.type": "S",
"properties.sku.required": "True",
"properties.sku.source_required": "True",
"properties.sku.server_generated": "False",
"properties.sku.autogenerated": "False",
"properties.sku.frontend_autocomputed": "False",
"properties.sku.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.product_name.field": "product_name",
"properties.product_name.type": "S",
"properties.product_name.required": "True",
"properties.product_name.source_required": "True",
"properties.product_name.server_generated": "False",
"properties.product_name.autogenerated": "False",
"properties.product_name.frontend_autocomputed": "False",
"properties.product_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.category.field": "category",
"properties.category.type": "S",
"properties.category.required": "True",
"properties.category.source_required": "True",
"properties.category.server_generated": "False",
"properties.category.autogenerated": "False",
"properties.category.frontend_autocomputed": "False",
"properties.category.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.brand.field": "brand",
"properties.brand.type": "S",
"properties.brand.required": "True",
"properties.brand.source_required": "True",
"properties.brand.server_generated": "False",
"properties.brand.autogenerated": "False",
"properties.brand.frontend_autocomputed": "False",
"properties.brand.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.description.field": "description",
"properties.description.type": "S",
"properties.description.required": "True",
"properties.description.source_required": "True",
"properties.description.server_generated": "False",
"properties.description.autogenerated": "False",
"properties.description.frontend_autocomputed": "False",
"properties.description.regex": "^.{0,500}$",
"properties.base_price.field": "base_price",
"properties.base_price.type": "N",
"properties.base_price.required": "True",
"properties.base_price.source_required": "True",
"properties.base_price.server_generated": "False",
"properties.base_price.autogenerated": "False",
"properties.base_price.frontend_autocomputed": "False",
"properties.base_price.regex": "^-?\\d+(\\.\\d+)?$",
"properties.stock_quantity.field": "stock_quantity",
"properties.stock_quantity.type": "N",
"properties.stock_quantity.required": "True",
"properties.stock_quantity.source_required": "True",
"properties.stock_quantity.server_generated": "False",
"properties.stock_quantity.autogenerated": "False",
"properties.stock_quantity.frontend_autocomputed": "False",
"properties.stock_quantity.regex": "^-?\\d+(\\.\\d+)?$",
"properties.unit_label.field": "unit_label",
"properties.unit_label.type": "S",
"properties.unit_label.required": "True",
"properties.unit_label.source_required": "True",
"properties.unit_label.server_generated": "False",
"properties.unit_label.autogenerated": "False",
"properties.unit_label.frontend_autocomputed": "False",
"properties.unit_label.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.rating.field": "rating",
"properties.rating.type": "N",
"properties.rating.required": "True",
"properties.rating.source_required": "True",
"properties.rating.server_generated": "False",
"properties.rating.autogenerated": "False",
"properties.rating.frontend_autocomputed": "False",
"properties.rating.regex": "^-?\\d+(\\.\\d+)?$",
"properties.is_featured.field": "is_featured",
"properties.is_featured.type": "BOOL",
"properties.is_featured.required": "True",
"properties.is_featured.source_required": "True",
"properties.is_featured.server_generated": "False",
"properties.is_featured.autogenerated": "False",
"properties.is_featured.frontend_autocomputed": "False",
"properties.is_featured.regex": "^(true|false)$",
"properties.tag_1.field": "tag_1",
"properties.tag_1.type": "S",
"properties.tag_1.required": "True",
"properties.tag_1.source_required": "True",
"properties.tag_1.server_generated": "False",
"properties.tag_1.autogenerated": "False",
"properties.tag_1.frontend_autocomputed": "False",
"properties.tag_1.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.tag_2.field": "tag_2",
"properties.tag_2.type": "S",
"properties.tag_2.required": "True",
"properties.tag_2.source_required": "True",
"properties.tag_2.server_generated": "False",
"properties.tag_2.autogenerated": "False",
"properties.tag_2.frontend_autocomputed": "False",
"properties.tag_2.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.tag_3.field": "tag_3",
"properties.tag_3.type": "S",
"properties.tag_3.required": "True",
"properties.tag_3.source_required": "True",
"properties.tag_3.server_generated": "False",
"properties.tag_3.autogenerated": "False",
"properties.tag_3.frontend_autocomputed": "False",
"properties.tag_3.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.display_order.field": "display_order",
"properties.display_order.type": "N",
"properties.display_order.required": "True",
"properties.display_order.source_required": "True",
"properties.display_order.server_generated": "False",
"properties.display_order.autogenerated": "False",
"properties.display_order.frontend_autocomputed": "False",
"properties.display_order.regex": "^\\d+$",
"properties.is_active.field": "is_active",
"properties.is_active.type": "BOOL",
"properties.is_active.required": "False",
"properties.is_active.source_required": "True",
"properties.is_active.server_generated": "True",
"properties.is_active.autogenerated": "False",
"properties.is_active.frontend_autocomputed": "False",
"properties.is_active.regex": "^(true|false)$",
"properties.version.field": "version",
"properties.version.type": "N",
"properties.version.required": "True",
"properties.version.source_required": "True",
"properties.version.server_generated": "False",
"properties.version.autogenerated": "False",
"properties.version.frontend_autocomputed": "False",
"properties.version.regex": "^\\d+$",
"children[0].parent_table": "jef-store-products",
"children[0].child_table": "jef-store-inventory-ledger",
"children[0].parent_key": "product_number",
"children[0].child_foreign_key": "product_number",
"children[0].child_index_name": "gsi_1",
"children[0].child_index_key": "gsi_1_pk",
"children[0].aliases[0]": "jef-store-inventory-ledger",
"children[0].aliases[1]": "inventory-ledger",
"children[0].aliases[2]": "store-inventory-ledger",
"children[0].aliases[3]": "jef_store_inventory_ledger",
"children[0].aliases[4]": "inventory_ledger",
"children[0].aliases[5]": "store_inventory_ledger",
"children[0].aliases[6]": "ledger",
"patch.semantic_patch_version": "patch-ignore-immutable-v2",
"patch.allowed_fields[0]": "product_number",
"patch.allowed_fields[1]": "entity_number",
"patch.allowed_fields[2]": "sku",
"patch.allowed_fields[3]": "product_name",
"patch.allowed_fields[4]": "category",
"patch.allowed_fields[5]": "brand",
"patch.allowed_fields[6]": "description",
"patch.allowed_fields[7]": "base_price",
"patch.allowed_fields[8]": "stock_quantity",
"patch.allowed_fields[9]": "unit_label",
"patch.allowed_fields[10]": "rating",
"patch.allowed_fields[11]": "is_featured",
"patch.allowed_fields[12]": "tag_1",
"patch.allowed_fields[13]": "tag_2",
"patch.allowed_fields[14]": "tag_3",
"patch.allowed_fields[15]": "display_order",
"patch.allowed_fields[16]": "is_active",
"patch.allowed_fields[17]": "version",
"patch.ignored_fields[0]": "created",
"patch.ignored_fields[1]": "created_at",
"patch.ignored_fields[2]": "deleted_at",
"patch.ignored_fields[3]": "idempotency_key",
"patch.ignored_fields[4]": "is_deleted",
"patch.ignored_fields[5]": "schema_version",
"patch.ignored_fields[6]": "updated",
"patch.ignored_fields[7]": "updated_at",
"patch.editable_attributes.product_number.field": "product_number",
"patch.editable_attributes.product_number.type": "S",
"patch.editable_attributes.product_number.required": "False",
"patch.editable_attributes.product_number.source_required": "True",
"patch.editable_attributes.product_number.server_generated": "True",
"patch.editable_attributes.product_number.autogenerated": "False",
"patch.editable_attributes.product_number.frontend_autocomputed": "False",
"patch.editable_attributes.product_number.format": "uuidv4",
"patch.editable_attributes.product_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"patch.editable_attributes.entity_number.field": "entity_number",
"patch.editable_attributes.entity_number.type": "S",
"patch.editable_attributes.entity_number.required": "True",
"patch.editable_attributes.entity_number.source_required": "True",
"patch.editable_attributes.entity_number.server_generated": "True",
"patch.editable_attributes.entity_number.autogenerated": "False",
"patch.editable_attributes.entity_number.frontend_autocomputed": "False",
"patch.editable_attributes.entity_number.format": "uuidv4",
"patch.editable_attributes.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"patch.editable_attributes.sku.field": "sku",
"patch.editable_attributes.sku.type": "S",
"patch.editable_attributes.sku.required": "True",
"patch.editable_attributes.sku.source_required": "True",
"patch.editable_attributes.sku.server_generated": "False",
"patch.editable_attributes.sku.autogenerated": "False",
"patch.editable_attributes.sku.frontend_autocomputed": "False",
"patch.editable_attributes.sku.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.product_name.field": "product_name",
"patch.editable_attributes.product_name.type": "S",
"patch.editable_attributes.product_name.required": "True",
"patch.editable_attributes.product_name.source_required": "True",
"patch.editable_attributes.product_name.server_generated": "False",
"patch.editable_attributes.product_name.autogenerated": "False",
"patch.editable_attributes.product_name.frontend_autocomputed": "False",
"patch.editable_attributes.product_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.category.field": "category",
"patch.editable_attributes.category.type": "S",
"patch.editable_attributes.category.required": "True",
"patch.editable_attributes.category.source_required": "True",
"patch.editable_attributes.category.server_generated": "False",
"patch.editable_attributes.category.autogenerated": "False",
"patch.editable_attributes.category.frontend_autocomputed": "False",
"patch.editable_attributes.category.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.brand.field": "brand",
"patch.editable_attributes.brand.type": "S",
"patch.editable_attributes.brand.required": "True",
"patch.editable_attributes.brand.source_required": "True",
"patch.editable_attributes.brand.server_generated": "False",
"patch.editable_attributes.brand.autogenerated": "False",
"patch.editable_attributes.brand.frontend_autocomputed": "False",
"patch.editable_attributes.brand.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.description.field": "description",
"patch.editable_attributes.description.type": "S",
"patch.editable_attributes.description.required": "True",
"patch.editable_attributes.description.source_required": "True",
"patch.editable_attributes.description.server_generated": "False",
"patch.editable_attributes.description.autogenerated": "False",
"patch.editable_attributes.description.frontend_autocomputed": "False",
"patch.editable_attributes.description.regex": "^.{0,500}$",
"patch.editable_attributes.base_price.field": "base_price",
"patch.editable_attributes.base_price.type": "N",
"patch.editable_attributes.base_price.required": "True",
"patch.editable_attributes.base_price.source_required": "True",
"patch.editable_attributes.base_price.server_generated": "False",
"patch.editable_attributes.base_price.autogenerated": "False",
"patch.editable_attributes.base_price.frontend_autocomputed": "False",
"patch.editable_attributes.base_price.regex": "^-?\\d+(\\.\\d+)?$",
"patch.editable_attributes.stock_quantity.field": "stock_quantity",
"patch.editable_attributes.stock_quantity.type": "N",
"patch.editable_attributes.stock_quantity.required": "True",
"patch.editable_attributes.stock_quantity.source_required": "True",
"patch.editable_attributes.stock_quantity.server_generated": "False",
"patch.editable_attributes.stock_quantity.autogenerated": "False",
"patch.editable_attributes.stock_quantity.frontend_autocomputed": "False",
"patch.editable_attributes.stock_quantity.regex": "^-?\\d+(\\.\\d+)?$",
"patch.editable_attributes.unit_label.field": "unit_label",
"patch.editable_attributes.unit_label.type": "S",
"patch.editable_attributes.unit_label.required": "True",
"patch.editable_attributes.unit_label.source_required": "True",
"patch.editable_attributes.unit_label.server_generated": "False",
"patch.editable_attributes.unit_label.autogenerated": "False",
"patch.editable_attributes.unit_label.frontend_autocomputed": "False",
"patch.editable_attributes.unit_label.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.rating.field": "rating",
"patch.editable_attributes.rating.type": "N",
"patch.editable_attributes.rating.required": "True",
"patch.editable_attributes.rating.source_required": "True",
"patch.editable_attributes.rating.server_generated": "False",
"patch.editable_attributes.rating.autogenerated": "False",
"patch.editable_attributes.rating.frontend_autocomputed": "False",
"patch.editable_attributes.rating.regex": "^-?\\d+(\\.\\d+)?$",
"patch.editable_attributes.is_featured.field": "is_featured",
"patch.editable_attributes.is_featured.type": "BOOL",
"patch.editable_attributes.is_featured.required": "True",
"patch.editable_attributes.is_featured.source_required": "True",
"patch.editable_attributes.is_featured.server_generated": "False",
"patch.editable_attributes.is_featured.autogenerated": "False",
"patch.editable_attributes.is_featured.frontend_autocomputed": "False",
"patch.editable_attributes.is_featured.regex": "^(true|false)$",
"patch.editable_attributes.tag_1.field": "tag_1",
"patch.editable_attributes.tag_1.type": "S",
"patch.editable_attributes.tag_1.required": "True",
"patch.editable_attributes.tag_1.source_required": "True",
"patch.editable_attributes.tag_1.server_generated": "False",
"patch.editable_attributes.tag_1.autogenerated": "False",
"patch.editable_attributes.tag_1.frontend_autocomputed": "False",
"patch.editable_attributes.tag_1.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.tag_2.field": "tag_2",
"patch.editable_attributes.tag_2.type": "S",
"patch.editable_attributes.tag_2.required": "True",
"patch.editable_attributes.tag_2.source_required": "True",
"patch.editable_attributes.tag_2.server_generated": "False",
"patch.editable_attributes.tag_2.autogenerated": "False",
"patch.editable_attributes.tag_2.frontend_autocomputed": "False",
"patch.editable_attributes.tag_2.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.tag_3.field": "tag_3",
"patch.editable_attributes.tag_3.type": "S",
"patch.editable_attributes.tag_3.required": "True",
"patch.editable_attributes.tag_3.source_required": "True",
"patch.editable_attributes.tag_3.server_generated": "False",
"patch.editable_attributes.tag_3.autogenerated": "False",
"patch.editable_attributes.tag_3.frontend_autocomputed": "False",
"patch.editable_attributes.tag_3.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"patch.editable_attributes.display_order.field": "display_order",
"patch.editable_attributes.display_order.type": "N",
"patch.editable_attributes.display_order.required": "True",
"patch.editable_attributes.display_order.source_required": "True",
"patch.editable_attributes.display_order.server_generated": "False",
"patch.editable_attributes.display_order.autogenerated": "False",
"patch.editable_attributes.display_order.frontend_autocomputed": "False",
"patch.editable_attributes.display_order.regex": "^\\d+$",
"patch.editable_attributes.is_active.field": "is_active",
"patch.editable_attributes.is_active.type": "BOOL",
"patch.editable_attributes.is_active.required": "False",
"patch.editable_attributes.is_active.source_required": "True",
"patch.editable_attributes.is_active.server_generated": "True",
"patch.editable_attributes.is_active.autogenerated": "False",
"patch.editable_attributes.is_active.frontend_autocomputed": "False",
"patch.editable_attributes.is_active.regex": "^(true|false)$",
"patch.editable_attributes.version.field": "version",
"patch.editable_attributes.version.type": "N",
"patch.editable_attributes.version.required": "True",
"patch.editable_attributes.version.source_required": "True",
"patch.editable_attributes.version.server_generated": "False",
"patch.editable_attributes.version.autogenerated": "False",
"patch.editable_attributes.version.frontend_autocomputed": "False",
"patch.editable_attributes.version.regex": "^\\d+$",
"root.type": "object",
"root.attributes.product_number.field": "product_number",
"root.attributes.product_number.type": "S",
"root.attributes.product_number.required": "False",
"root.attributes.product_number.source_required": "True",
"root.attributes.product_number.server_generated": "True",
"root.attributes.product_number.autogenerated": "False",
"root.attributes.product_number.frontend_autocomputed": "False",
"root.attributes.product_number.format": "uuidv4",
"root.attributes.product_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.entity_number.field": "entity_number",
"root.attributes.entity_number.type": "S",
"root.attributes.entity_number.required": "True",
"root.attributes.entity_number.source_required": "True",
"root.attributes.entity_number.server_generated": "True",
"root.attributes.entity_number.autogenerated": "False",
"root.attributes.entity_number.frontend_autocomputed": "False",
"root.attributes.entity_number.format": "uuidv4",
"root.attributes.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.sku.field": "sku",
"root.attributes.sku.type": "S",
"root.attributes.sku.required": "True",
"root.attributes.sku.source_required": "True",
"root.attributes.sku.server_generated": "False",
"root.attributes.sku.autogenerated": "False",
"root.attributes.sku.frontend_autocomputed": "False",
"root.attributes.sku.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.product_name.field": "product_name",
"root.attributes.product_name.type": "S",
"root.attributes.product_name.required": "True",
"root.attributes.product_name.source_required": "True",
"root.attributes.product_name.server_generated": "False",
"root.attributes.product_name.autogenerated": "False",
"root.attributes.product_name.frontend_autocomputed": "False",
"root.attributes.product_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.category.field": "category",
"root.attributes.category.type": "S",
"root.attributes.category.required": "True",
"root.attributes.category.source_required": "True",
"root.attributes.category.server_generated": "False",
"root.attributes.category.autogenerated": "False",
"root.attributes.category.frontend_autocomputed": "False",
"root.attributes.category.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.brand.field": "brand",
"root.attributes.brand.type": "S",
"root.attributes.brand.required": "True",
"root.attributes.brand.source_required": "True",
"root.attributes.brand.server_generated": "False",
"root.attributes.brand.autogenerated": "False",
"root.attributes.brand.frontend_autocomputed": "False",
"root.attributes.brand.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.description.field": "description",
"root.attributes.description.type": "S",
"root.attributes.description.required": "True",
"root.attributes.description.source_required": "True",
"root.attributes.description.server_generated": "False",
"root.attributes.description.autogenerated": "False",
"root.attributes.description.frontend_autocomputed": "False",
"root.attributes.description.regex": "^.{0,500}$",
"root.attributes.base_price.field": "base_price",
"root.attributes.base_price.type": "N",
"root.attributes.base_price.required": "True",
"root.attributes.base_price.source_required": "True",
"root.attributes.base_price.server_generated": "False",
"root.attributes.base_price.autogenerated": "False",
"root.attributes.base_price.frontend_autocomputed": "False",
"root.attributes.base_price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.stock_quantity.field": "stock_quantity",
"root.attributes.stock_quantity.type": "N",
"root.attributes.stock_quantity.required": "True",
"root.attributes.stock_quantity.source_required": "True",
"root.attributes.stock_quantity.server_generated": "False",
"root.attributes.stock_quantity.autogenerated": "False",
"root.attributes.stock_quantity.frontend_autocomputed": "False",
"root.attributes.stock_quantity.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.unit_label.field": "unit_label",
"root.attributes.unit_label.type": "S",
"root.attributes.unit_label.required": "True",
"root.attributes.unit_label.source_required": "True",
"root.attributes.unit_label.server_generated": "False",
"root.attributes.unit_label.autogenerated": "False",
"root.attributes.unit_label.frontend_autocomputed": "False",
"root.attributes.unit_label.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.rating.field": "rating",
"root.attributes.rating.type": "N",
"root.attributes.rating.required": "True",
"root.attributes.rating.source_required": "True",
"root.attributes.rating.server_generated": "False",
"root.attributes.rating.autogenerated": "False",
"root.attributes.rating.frontend_autocomputed": "False",
"root.attributes.rating.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.is_featured.field": "is_featured",
"root.attributes.is_featured.type": "BOOL",
"root.attributes.is_featured.required": "True",
"root.attributes.is_featured.source_required": "True",
"root.attributes.is_featured.server_generated": "False",
"root.attributes.is_featured.autogenerated": "False",
"root.attributes.is_featured.frontend_autocomputed": "False",
"root.attributes.is_featured.regex": "^(true|false)$",
"root.attributes.tag_1.field": "tag_1",
"root.attributes.tag_1.type": "S",
"root.attributes.tag_1.required": "True",
"root.attributes.tag_1.source_required": "True",
"root.attributes.tag_1.server_generated": "False",
"root.attributes.tag_1.autogenerated": "False",
"root.attributes.tag_1.frontend_autocomputed": "False",
"root.attributes.tag_1.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.tag_2.field": "tag_2",
"root.attributes.tag_2.type": "S",
"root.attributes.tag_2.required": "True",
"root.attributes.tag_2.source_required": "True",
"root.attributes.tag_2.server_generated": "False",
"root.attributes.tag_2.autogenerated": "False",
"root.attributes.tag_2.frontend_autocomputed": "False",
"root.attributes.tag_2.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.tag_3.field": "tag_3",
"root.attributes.tag_3.type": "S",
"root.attributes.tag_3.required": "True",
"root.attributes.tag_3.source_required": "True",
"root.attributes.tag_3.server_generated": "False",
"root.attributes.tag_3.autogenerated": "False",
"root.attributes.tag_3.frontend_autocomputed": "False",
"root.attributes.tag_3.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.display_order.field": "display_order",
"root.attributes.display_order.type": "N",
"root.attributes.display_order.required": "True",
"root.attributes.display_order.source_required": "True",
"root.attributes.display_order.server_generated": "False",
"root.attributes.display_order.autogenerated": "False",
"root.attributes.display_order.frontend_autocomputed": "False",
"root.attributes.display_order.regex": "^\\d+$",
"root.attributes.is_active.field": "is_active",
"root.attributes.is_active.type": "BOOL",
"root.attributes.is_active.required": "False",
"root.attributes.is_active.source_required": "True",
"root.attributes.is_active.server_generated": "True",
"root.attributes.is_active.autogenerated": "False",
"root.attributes.is_active.frontend_autocomputed": "False",
"root.attributes.is_active.regex": "^(true|false)$",
"root.attributes.version.field": "version",
"root.attributes.version.type": "N",
"root.attributes.version.required": "True",
"root.attributes.version.source_required": "True",
"root.attributes.version.server_generated": "False",
"root.attributes.version.autogenerated": "False",
"root.attributes.version.frontend_autocomputed": "False",
"root.attributes.version.regex": "^\\d+$"
}
Response Schema¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_update_count.type": "number",
"properties.child_update_count.type": "number"
}
Request Payload¶
{
"product_number": "7a458751-a30f-40b5-91d2-bb76db1556f5",
"entity_number": "60e961b5-b4e6-4214-abb7-9266cf42e133"
}
Response¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_update_count.type": "number",
"properties.child_update_count.type": "number"
}
CMD curl¶
curl -X PATCH "https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-products-patch-one" -H "Content-Type: application/json" --data-raw "{\"product_number\": \"7a458751-a30f-40b5-91d2-bb76db1556f5\", \"entity_number\": \"60e961b5-b4e6-4214-abb7-9266cf42e133\"}"
PowerShell curl¶
curl.exe -X PATCH "https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-products-patch-one" -H "Content-Type: application/json" --data-raw '{"product_number": "7a458751-a30f-40b5-91d2-bb76db1556f5", "entity_number": "60e961b5-b4e6-4214-abb7-9266cf42e133"}'