Skip to content

Merchant_Rate_Sheet_Make_Changes

Request

Security
basicAuth
Body
request_user_idstring, <= 255 characters

External Partner user ID of an existing user set up at Momnt who is initiating the change to the rate sheet. This user must be an active merchant admin user for the merchant the update is being requested for.

rate_sheet_merchant_product_price_idsArray of objects(PartnerMerchantRateSheetSelect)

An array of products that should be updated and the is_active value they should be updated to. See subsequent fields.

external_org_idstring, <= 255 characters

Should be provided when merchant is part of a multi-location hierarchy.

curl -i -X PATCH \
  -u '<username>:<password>' \
  https://momnt-api-docs.redocly.app/_mock/docs/openapi/sponsor_merchant_v1/api/v1/sponsor/merchants/rate-sheets/ \
  -H 'Content-Type: application/json' \
  -d '{
    "request_user_id": "string",
    "rate_sheet_merchant_product_price_ids": [
      {
        "rate_sheet_merchant_product_price_id": 0,
        "is_active": true,
        "merchant_selected": true
      }
    ],
    "external_org_id": "string"
  }'

Responses

Bodyapplication/json
request_user_idstring, <= 255 charactersrequired

External Partner user ID of an existing user set up at Momnt who is initiating the change to the rate sheet. This user must be an active merchant admin user for the merchant the update is being requested for.

rate_sheet_merchant_product_price_idsArray of objects(PartnerMerchantRateSheetSelect)required

An array of products that should be updated and the is_active value they should be updated to. See subsequent fields.

external_org_idstring, <= 255 characters

Should be provided when merchant is part of a multi-location hierarchy.

Response
{ "request_user_id": "string", "rate_sheet_merchant_product_price_ids": [ { … } ], "external_org_id": "string" }