productCopyPrices
Queues a one-time copy of price tiers from one price owner to another.
Business Rules
- Both owners must belong to the active company, and they cannot be the same owner.
- Only prices for active products are copied.
- A tier the target already has for a product and minimum quantity is kept, so the copy adds only what is missing and repeating it changes nothing.
- The copy is independent: later changes on the source do not reach the target.
- Progress and per-product outcomes are reported on the returned process.
Error Scenarios
- **
UNPROCESSABLE_CONTENT**: the two owners are the same, the target is archived, the source has duplicate tiers for a product, or there is nothing left to copy. - **
NOT_FOUND**: an owner does not belong to the active company. - **
UNAUTHORIZED**: missing required permissions or invalid company access.
Permissions Required
products:add_pricespermission
productCopyPrices(
input: CopyProductPricesInput!
): AsynchronousActionResponse!
Arguments
productCopyPrices.input ● CopyProductPricesInput! non-null input common
Parameters for CopyProductPrices
Type
AsynchronousActionResponse object common
Asynchronous action response type